News Feed
Sections




News Archive
feed this:

Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Davey Shafik's Blog:
Detailed IDE Reviews How do you want to do this?
March 17, 2009 @ 13:45:14

As a follow-up to the IDE comparisons he's done Davey Shafik has asked the interested for a little feedback on how they think he should move forward with the more detailed reviews of each tool.

So, dear readers, I'm doing the IDE reviews for all of you guys and there's two ways I can proceed: I can take each of the requirements and do a single post per requirement with a writeup about it in detail for each of the 4 IDEs - then I was thinking for each new IDE I try, I can hit those same points. Or I can write up specifically on a single editor at a time, covering all of the requirements and I will also then review anything else about the editor etc.

He's thinking of doing a comparison of the Eclipse-based IDEs in their own right, but wants to get feedback on what would be the most useful for other developers to learn from. Several comments have already been made suggesting approaches to the topic, other editors that might be missing from the list and some support for the Eclipse comparison idea.

0 comments voice your opinion now!
ide detail review eclipse approach suggestion


PHPBuilder.com:
PHP Form Validation System An Object-Oriented Approach
April 21, 2008 @ 08:49:24

Mike Weiner has put together an article for PHPBuilder.com that's posted today showing a bit more object-oriented solution to validating the user submitted data in your forms:

Whether it is for database submission, emailing, or for some other purpose, forms represent the primary means of enabling a user to send data to an application. As a result, it is important to have control over the data collected by your forms, which will aid in the creation of streamlined, error-free applications.

He lays out the validation method in a graphic going with a generic validation class that then calls the various validation methods (like phone or email) as needed. The "validation set" manages which validations are to be run on which form elements. Example code for each of the bits making up the structure and the implementation are provided.

1 comment voice your opinion now!
object oriented approach form validation tutorial


Zend Developer Zone:
The HYSOCAMTT templating approach
February 27, 2008 @ 07:56:00

In a new post to the Zend Developer Zone, Brett Zamir has posted a new tutorial that talks about using the Smarty templating system to create what he calls the HYSOCAMTT templating approach ("Have-Your-Separation-Of-Concerns-And-Mix-Them-Too".

This article aims to highlight a approach which allows one to separate everything from one's business logic to one's design logic, to XHTML from CSS, one's Javascript from the page structure, etc., while at the same time being able to be lazy and include, for example, CSS information within the same document (template) as one's XHTML

The tutorial uses an extension for Smarty called SmartyDocB that makes the documentation side much easier. He works through the templating process and includes some of the code for the .tpl files to get you started.

He also includes some future goals for his idea, a mention of XSL templating, XQuery and the potential for templating across programming languages to make your site even more flexible.

0 comments voice your opinion now!
hysocmatt template approach tutorial smarty smartydocb seperation concerns



Community Events





Don't see your event here?
Let us know!


language developer tips series bugfix api deployment zendserver introduction list framework laravel podcast symfony library opinion community interview conference release

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework