As promised in last post Good bye MyEclipse. Welcome STS -Spring source Tool Suite, I would be going into the details of Spring TC server development edition and its integration with Spring Source tool suite (STS).
Spring launched the Spring source tc server which is a layer of functional ties and capabilities over the famous Apache Tomcat server. From Spring source site
SpringSource tc Server™ is an enterprise version of Apache Tomcat that provides developers with the lightweight server they want paired with the operational management, advanced diagnostics, and mission-critical support capabilities businesses need.
More details on Spring TC server can be found SpringSource tc Server — The Tomcat You Know
I decide to give the Spring TC server a shot. I downloaded tc Server Developer Edition(Free) edition (you will have to fill in details and then you get a link in email)
Read more…
We had posted a tutorial example on JSON Java script sometimes back. It became a pretty popular post and people gave good feedback about it. Some how the post got deleted and with it all the user’s comment. We apologize to our users. Here is the post JSON JavaScript Tutorial. JSON is really cool and gives a lot of power in hands of developer.
Spring 3.0 which has come up with a lot of simplification like asynchronous method invocation , have also simplified AJAX calls. You can now now invoke server side code with JSON and Spring 3 provide support for that. Details on it can be read from Spring Source blog AJAX Simplification in Spring 3
PS: Last time I checked out the spring blog, the above url was pointing to wrong post. They might have fixed it by now
(For the next series of articles, I would assume that programming would be a fundamental part of one’s body, if not, then go practice! Also ,you need to brush up on some Object Oriented concept. Happy Reading)
Today, we would be tackling about Object Oriented Paradigm, in relation with Game Programming. For now, think inside the box.
First picture a room, say for example picture a computer room.
What should be inside this kind of room? More or less we can see a number of CPU’s, keyboards,mouses,monitors,cables and maybe one or two printers.Is the room airconditioned? Then you can probably feel a little cold inside this room. Hear some music or probably some noise? Is a sound system probably present too?Also, you should not forget about the tables and the seats where the computers are, or the AVR’s where the computers are hooked too! Have you gotten a feel of the room yet?
Planning is almost always done first instead of just rushing in and just coding whatever pops out of the mind. Coding without planning is only done for those things that need to be crammed. Game programming shouldn’t be one of them.
Now proceed to the next step. Ask yourself these questions:
a)Where are you again?
b)How many objects are in the room?
c)Why are these objects here in the first place?
d)What is the purpose of a specific object?
e)How does an object work?
f)What are the functions of these objects? Read more…
Introduction
Today JQuery is a buzz in every tinsel town. From the day web sites began coming into the world wide web space, developers are trying hard to please their users. Javascript arrived and it added spices in it. Developers began playing with javascript and created tens of thousand useful things for the users and made things interactive. But this comes with a price. Creating and maintaining javascript application requires a lot of patience and a lot of trial and error. On the top of this if we wanted to write a piece of javascript that creates effects and animation, we had make sure every thing is working and sometimes struggling with table, div, span bla bla bla. JQuery came into the picture like life savior and it made our life very much comfortable. Just have a look at the piece of code written below :-
<html>
<head>
<script src=”jquery-1.3.2.js”></script>
<script>
$(document).ready(function(){
$(”p”).click(function(){
$(this).hide()
})
})
</script>
</head>
<body>
<p>You click on me, I will come after “Introduction”</p>
</body>
</html>
You can download code examples used in this tutorial here jquery code examples
This is just beginning and it can bring a lot of fun on your website. Imagination is the only limit.
Objective
(1) What is JQuery
(2) Why use JQuery
(3) How JQuery works
(4) Creating effects with JQuery
(5) JQuery with server side technologies (ASP.net)
(6) Future of JQuery Read more…
Introduction : Before we begin our journey of JSON, let’s write down a small piece of code .
<html>
<head>
<script language=”javascript”>
var objTest = {
“TestName” : “SCJP 5 Mock Test”,
“Description” : “This has questions for SCJP 5 mock test”,
“Rating” : 4
};
</script>
</head>
</html>
Our first reaction would be “Hey, wait. This is java script code. What is new in this?”. Welcome to the world of JSON. Read more…
Introduction
AJAX, ‘Old wine in a new bottle’. Puzzled! Absolutely right. AJAX was with us for a long time, until we realized its true potentials. Lets take a very close example and we use it in our everyday life. Google? Yes, very true. Google was very early mover in AJAX arena and showed the world, web applications close to desktop applications. People were so fascinated with desktop applications that there was an urgent need of such ‘Avatar’. Suppose you are in the middle of filling a user registration page. You fill all the necessary information and hit the register button. Err..it says “Username already exists. Please try again”. You tried once, twice, thrice and so many times and after page refreshes it is showing the same message. Well, application does not have any choice but to display this error message. But now we can take off the pain and show something interactive, a user may like. Major websites will allow you to enter the username, but at the same time they will be able to tell you if this username has been taken out and without page refresh. That is AJAX. Most close example. Try typing words in Google search box and it will show you an array of suggestions. This is just a tip of iceberg. Believe me, you can create a very rich web based application by allowing AJAX to come into your life.
Topics We Will Cover
(1) What is AJAX
(2) Why to use AJAX
(3) AJAX nomenclatures
(4) AJAX with ASP.NET 4.0 (.NET 4.0 framework is still in beta but a lot to offer)
(5) Future of AJAX Read more…
When a newbie starts on his website or blog , the first thing they want to know is how to bring their site in first page of google ? What are the steps to achieve this ?
Some developers and webmasters have the notion is that Google is against SEO. It considers SEO to be an illegal activity. Well that is not the case. Google is against the black hat SEO not white hat SEO. The proof lies in the pudding so here is the official SEO Guide for starters from Google.
This guide outlines the simple basic steps for developers which will help in better indexing of their site which in turn leads to a better probability of coming up in google search pages.
I had been using myEclipse for couple of years and was happy with features and convenience they provided especially the hot deploy feature. The license fees is $30 per year which wasn’t bad.
Recently I downloaded MyEclipse7 which had some new features and like advanced java script tooling, JSF views and enhancements. It was a huge file and after installation when you start myeclipse, it takes a good amount of time to fire up.
I have a machine which is pretty good with 2GB of RAM and this was not the kind of sluggish performance which I expected. I am assuming the high boot up time is that they have introduced many new features and capabilities, UML upgrades . Now even if you are not using them , it takes time to load them up all the libraries. Perhaps they should have allowed the users to customize the options based on need instead of pushing everything in their face. Read more…