Blog Insights
Replacing and Patching Java Application and Core classes
Why would you ever need that? Say you get a jar file. After using the jar for a while you realize that there is a bug in a class in the jar file. Unfortunately you also find out that the jar is no longer supported and there is no way you...IP Addresses in PHP/MySQL
I've been working on a web-based tool that stores, among other network-related things, IP addresses. When I first started I stored each IP address as four TINYINTS (0-255 for each octet): mysql> desc ipaddresses; +----------+---------------------+------+-----+---------+----------------+ | Field | Type ...Taking Advantage of Spring MVC's Default Behavior
Over the last several months I have worked on several content heavy websites for one of our partners. When I say “content heavy”, I mean that 80%-90% of the pages in the application are static, or at least mostly static, a customer name, membership number, etc may need to be...Magento Customization
Magento is an e-commerce framework that is used as an online shopping cart. I am going to talk a little bit about Magento extensions and why they are useful when wanting to customize your shopping cart. Magento extensions allow you to change functionality of the shopping cart while modifying little...Automating the Web with WWW::Mechanize
And yes, the double colon does mean Perl. However, I know that Python also has the same class modeled after the Perl module. So even if py- is your favorite prefix, this should still be useful. WWW::Mechanize gives you basic access to a "web browser" from your Perl scripts. It has...Hibernate Embeddable Objects
Hibernate Embeddable Objects are a really neat way to organize your data model. Especially, if you have the same few columns in a number of different tables, that all pertain to the same thing. The example commonly used is Addresses. You may have a number of tables that each have...Is trying to learn a new language every year worth it?
While spending time recently looking for something new to learn that looked interesting, and it still being so close to new years, I was reminded of a bit of advice from the book "The Pragmatic Programmer," learn a new language every year. But is learning a new language every year...Keep your dataTable clean with a custom popup
The basic idea is to output some data to a user in a table and allow them to take an action on each row individually. A fairly straightforward solution is to create a separate page to link to, passing the necessary row information along. If the action is simple enough,...Building Perl modules on OpenSolaris
Anyone that's worked with Perl is probably familiar with CPAN.pm. CPAN.pm is the bundled module that handles downloading and installing modules from the CPAN repository. It usually works flawlessly but I've noticed that on OpenSolaris the process can be a bit more spotty. Let's try installing Mason as an...Spring's refreshable beans
A couple of days ago I found out about a really nice feature in Spring, called 'refreshable bean'. Spring's vision a refreshable bean is a dynamic-language-backed bean that monitors changes to its source code and then reloads itself when changes occur. And it is all this is done without restarting/re-deploying entire...