/* PHP & MySQL Blog */
Posted in: php | ( 3 ) Comments
21 Jun 2009With a plethora of wordpress plugins available for every conceivable purpose, there is a huge amount of data that is stored on a typical wordpress installation. We could easily use that data across domains or display them using widgets on the desktop. Take for example the WP-UserOnline plugin that displays how many users are currently online on your blog. We could easily write a proxy to grab that information from the plugin and use it in a Yahoo Widget or in a AIR application on the desktop, so you can see the number of users online without having to visit your site. Or you could use the information on some other site.
Posted in: browser | ( 1 ) Comment
17 Jun 2009Rarely do I get excited about new software developments. The last I remember was when WolframAlpha was realeased. Now it is Opera Unite. I’ve forever been a Opera fan, and always loved the extra bit of functionality thoughtfully added to the product by the opera team. But Unite really takes the step forward.
Posted in: php | ( 4 ) Comments
15 Jun 2009In this post we will see how to create a custom stream filter. Streams, first introduced in PHP 4.3, provide an abstration layer for file access. A number of different resources besides files - like network connections, compression protocols etc. can be regarded as “streams” of data which can be serially read and written to.
Posted in: software | ( 1 ) Comment
11 Jun 2009Having to scrap a project after working on it for more than a year is not really an interesting way to up your morale. But it is one the most common things to occur in software development.
To take a real world example; A development company I know has been developing a shopping cart for the last 14 months ( beats me why anyone has to develop a shopping cart when so many free and excellent are already available ). But it is still nowhere near production ready. There is always something left to be added or cleaned. During the development period more than half a dozen programmers have worked on the project and left, producing a convoluted piece of software, which every new member dreads to touch in fear of breaking something somewhere. Salvaging the project is getting harder by the day.
Posted in: refactoring | ( 2 ) Comments
5 Jun 2009Temporary variables are a integral part of any code. But a splattering of the same all over can make your code hard to understand or modify. Replace temp with query is a refactoring method where you replace temp variable expressions with methods. This method is often also required before you use the Extract Method refactoring.
This site is a digital habitat of Sameer, a freelance web developer working from Pune.More