Posts

Showing posts from 2005

Developers developers developers developers

I heard this song in a home made video that I saw in google videos. It piqued my interest and found this song. Pretty hilarious. First watch this Steve Balmer's monkey dance. Next watch this music video. And read the lyrics . Now have a good laugh.

EPIC

EPIC. I found this link on a ThoughtWorks employee's blog. The flash movie is so engrossing, for the rivetting presentation and the content. Its a nice guess, gotto wait and watch to see how it all develops.

Flock

Image
The next firefox. Instead of slapping RSS, Blogging, Flickr,Del.icio.us onto the existing browser, these fine folks have created this new browser called FLOCK. Now I am blogging with FLOCK. Hope I can blog at a faster pace henceforth with blogging toolbar built right onto the browser window.

0 to Struts in 60 minutes - Part II

Image
Our goal : First Iteration : * set up a login page, login formbean, login process Actionservlet stub Second Iteration : * set up log4j for logging purposes * use a pattern - Data Access Object pattern * talk to mysql database * logic for authentication in login actionservlet First Iteration : Setting up login page, login process servlet stub, welcome page Lets build this project iteratively. First the skeleton and then slowly we will start adding sinews adding more complexity. A simple login page that submits the values to the login servlet. ( Well it has to go through the controller servlet - we will see that in a minute ) - and the login process servlet right now doesnt do anything big - just accepts the values and displays the username being entered. It still does not have the ability to talk to database - it has to wait !! We need to create 4 files ( 2 JSP,2 Java) and tamper with struts_config.xml Login.jsp <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html...

0 to struts in 60 minutes

Steps to build a struts application Struts has become a standard for web applications. It lets you fit your web application in a MVC framework - which earlier I had wrongly thought - MVC is only for desktop GUI clients. What is MVC? M-Model V-View C-Controller Model deals with the data - JavaBeans containing the data. View deals with how you want to display the model Controller - How the model and view are to be controlled Lets take the example of a login process. Here is the scenario : User enters login name, password hits submit. The form data are sent to a servlet that talks to the database to see if the information is valid. If it is valid, it puts the name, role information in a javabean and sends the browser to a welcome page. If not it sends the browser an error page. Now with MVC scenario. When the user hits submit, the control does not directly go to the servlet but to a controller servlet. The form values are put in a javabean ( model ). The controller's main job is to se...

Exposé

Image
I am a multi tasker. I have a minimum of 5 applications running simultaneously. Exposé offers a beautiful solution to manage this mess. It has spoilt me !! Now I open even more apps and do not bother to close them. Ah the power of OS X in managing memory. These are the applications I was running when I took this screen shot. Eclipse Mail Safari ITunes 2 Text documents Terminal CocoaMySQL 2 Finder windows Now when I have to switch between apps all I have to do is click my middle mouse button or press F9 or move my mouse to the left most top corner ( my choice ) - and everything zooms out neatly to this ( see screenshot below) - and I just click on the window I need. Fast simple easy. OS X started small. Jaguar did not have much fancy stuff other than the eye candy gui. With a solid foundation built with Jaguar, OS X engineers started innovating on top of it. Exposé was introduced in Panther. Things are just getting started. On April 29th Tiger is being released. It will be a while befor...

Macs can do more

Starting today, I am going to write about how on a mac you can do more things. Of course you can do the same or even more in Windows - but you have to bend your back. I will examine each of the applications, tricks I enjoy in my mac - also to be fair will try to find equivalent application in windows and linux and review them. Mac sets you free...!!

UML

UML is like the Grand Unified Theory (GUT) for physicists - only difference is UML has been developed and is being used everywhere. I started this book a few days ago and I am hooked. I will be telling you some of the interesting things I discover in this journey. As a briefer : UML defines nine types of diagrams 1. Class diagrams 2. Sequence diagrams 3. Collaboration diagrams 4. Object diagrams 5. Statechart diagrams 6. Activity diagrams 7. Use case diagrams 8. Component diagrams 9. Deployment diagrams