Linux.com

Just assign a job to Perl and PHP

Posted by: Anonymous Coward on August 23, 2006 02:50 PM
Sorry, I replied to the wrong post instead of the article.

Here's the message:

I am not a good programmer - but my logic in this case says: use hook or crook to get the job done.

I mean:

1. Create a comprehensive list of possible web programming requirements. (Please excuse my English). E.g. Connect to database - execute query and disconnect from database, print HTML page, print XML page, open and close files in the background, etc.

2. Assign a job to Perl and PHP! That is, configure both languages in the best way it is possible to configure it - taking advantage of all nuances of each language.

3. Write an optimized query - possibly ask people at IRC to help you comment on the optimality of your code.

4. Get 2 result sets:
a) By not following good/best practices - just try to run it as fast as you can. E.g. omitting errors and warning and die, etc.
b) Use good/best practices.

#

Return to LAMP vs. LAMP