 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
LoLoCoJr BLog: Rewriting a (large) PHP application to Rails, part 1
by Chris Cornutt December 14, 2006 @ 08:33:00
Doing everything in just PHP can be a great thing when you're working with web applications, but what happens when a project comes along that was already using something like Ruby on Rails? You'd have to get in there and learn the language to get up to speed. One thing that can help, though, is a "transition" piece to show you what functionality matches up with the language you're familiar with - PHP. This new article (series) from LoLoCoJr aims for just that.
In recent weeks I was busy converting a fairly large PHP application to Rails. The existing PHP application is about 65.500 lines of intermingled PHP and HTML/CSS code. Yep, a classic PHP application without any database abstraction layer, no templating, no MVC.
This is just part one of the series, but it jumps right in to things - the list of deliverables to break out the application into easy to chew chunks and a look at a Ruby config and database connections (MySQL to PostgreSQL)
voice your opinion now!
rewrite application rubyonrails deliverables example rewrite application rubyonrails deliverables example
Aaron Wormus' Blog: Rewriting your Platform
by Chris Cornutt November 28, 2006 @ 09:49:00
Sometimes developers just don't think about how much trouble they'd cause with a rewrite of existing software. They think that moving up to the latest and greatest is the way to go, and that it makes perfect sense to say out with the old and in with the new. Aaron Wormus disagrees. Well, sometimes - it depends on the circumstances, really.
At ZendCon I talked about "Planning a PHP 4 to PHP 5 codebase rewrite, a practical approach". The talk was based on my own experience, as well as famous discussion of the topic such as Joel Spolsky's "Things you should never do" and the examination of "famous" platform rewrites.
Aaron gives an example of a large company making a move from a COBOL system out to C for a mission critical system. Based on his tale, they didn't put the thought needed into making this move - new development time, keeping old developers on staff, etc - besides the fact that customers don't like change and making a move to another platform is almost definitely going to be noticed by them.
voice your opinion now!
rewrite platform decision thought developer programmer reseach rewrite platform decision thought developer programmer reseach
Simplesem.com: 4 Steps to Make Your PHP Site Indexed Properly
by Chris Cornutt May 12, 2006 @ 05:46:15
In a (very) brief post on Simplesem.com today, there's some suggestions to help you and your site be properly noticed by Google and other search engine spiders out there.
It's common tendency for Search Engine Optimization specialists to avoid use of dynamic URLs and not groundlessness. Search Engine Spiders don't index URLs overwhelmed with dynamic parameters.
So if your site is PHP-based and resides on an Apache Server then you might consider carrying out these four simple steps to boost your traffic.
The steps are basic, but they are a good place to start if you're looking at getting started with "search engine optimization". The main suggestion is to use an Apache rewrite rule to change url parameters into part of the path (and vice-versa). Obviously, it's not the solution for everyone as you'd need access to the server's config to use it.
voice your opinion now!
php search engine index properly rewrite rule apache mod_rewrite php search engine index properly rewrite rule apache mod_rewrite
Pierre's Blog: Zip, complete rewrite and write mode added
by Chris Cornutt March 06, 2006 @ 07:37:35
Pierre has posted about an update to his zip extension he created and added to the pecl repository. This version is a complete rewrite, and uses libzip instead of zzlib.
It is 100% backward compatible, you can use your old code transparently.
For PHP 5.1.x and up: Add create, modify and write support, from files or strings, stream support (read only), OO interface
For PHP 4.x and 5.0.x: Better zip read support, broken zip files with zzlib may now work smoothly.
For the old APIs, you can read the good old PHP manual. There is no documentation yet, but the examples contain all new features. It is the very first releases, consider it as alpha.
He reminds developers that feedback is always welcome, and that it can be downloaded directly from the pecl site.
voice your opinion now!
php zip extension complete rewrite streams oo interface php zip extension complete rewrite streams oo interface
|
Community Events
Don't see your event here? Let us know!
|