Adapter design pattern

Adapter pattern adapts a piece of code to work with another. In real world, consider a battery charger for your phone. If you went for vacation to a somewhere in Europe, your charger won’t fit into the wall outlet. You would need a piece that can wrap your that fits into the socket in Europe. Adapter pattern is usually helpful to create new code that is compatible with old legacy code. Using adapter pattern the old code do not need to be changed to work with new code. [Read more…]

This batch file will lessen your sqlplus login frustration at zenit server.

If you are in DBS501 like me, you must be frustrated with sqlplus command. Why did they remove the good old isqlplus and instead put sqlplus. The problem with the sqlplus for most of us is because of connection problem. If you haven’t modified the ora file to include host address for neptune, you must do that before proceeding any further. Here is the link https://cs.senecac.on.ca/~nconkic/db-oracle11g.html [Read more…]

CSS Layout without the hassle of div position

Tables are for tabular data. Div with CSS has been the new layout trend. With div and css, the code is much cleaner and accessible. But div positioning is something I always had problem with. But now using float attribute, I can create CSS Layout in much easier way. I just watched a very good video on google about how to easily create CSS Layout. I hope you have enough time, its about an hour long video. Check it out.

Reading about how to customize WordPress

I have been reading about WordPress this weekend. WordPress is a Web CMS that can be used to create a blog. By default, it is set to create blog. But lots of website use WordPress as the base website and customize it to create amazing websites. I still need to hone my CSS 2 skills, specially the layout skills. With a good knowledge of CSS, PHP, Photoshop and JQuery, WordPress can be customized to create very professional quality websites.

JQuery rocks !!!

JQuery is a libray of javascript functions that can be used for creating a website. Once JQuery is installed and included in your document, you have access to $ function or the jQuery(). I am reading a cookbook on JQuery on my ipod touch. Also got a cool ipod app with JQuery references. One of the syntax to use JQuery is $(element).attribute(function(){ //do something}); I never liked the use of function definition in a function parameter. Hopefully, I will start to get use to with it. JQuery website also has a lot of tutorials, demos along with its extensive documentation. Thanks to my prof Simon, I found jQuery. ..will post more about JQuery when I find something useful. http://www.jquery.com JQuery. write less do more..