Home arrow PHP arrow Making PHP Forms Object-Oriented
PHP

Making PHP Forms Object-Oriented


In this article Yuri explains an object oriented way to create and use forms on your web site.

Author Info:
By: Yuri Makassiouk
Rating: 4 stars4 stars4 stars4 stars4 stars / 37
January 23, 2003
TABLE OF CONTENTS:
  1. · Making PHP Forms Object-Oriented
  2. · Analysis
  3. · Executing Environment
  4. · Implementing the FormProcessor Class
  5. · Inputs - Brief Introduction
  6. · Example of a Form
  7. · Conclusion

print this article
SEARCH DEVARTICLES

TOOLS YOU CAN USE

advertisement
Making PHP Forms Object-Oriented
(Page 1 of 7 )

First of all, we already know how to examine $HTTP_POST_VARS, we know how to name form inputs in such a way that they will be presented as a nice PHP array. We've read Richard Creech's article on making a form's controls dynamic. Why do we need anything else at this stage?

Let me explain. You see, I have a Delphi background and with Delphi you get very much addicted to re-using instead of re-inventing. So, if you find yourself coding something that gives you this dejavu - “I've been doing this before” - you want to invent a class that can be reused throughout your projects.

blog comments powered by Disqus
PHP ARTICLES

- Removing Singletons in PHP
- Singletons in PHP
- Implement Facebook Javascript SDK with PHP
- Making Usage Statistics in PHP
- Installing PHP under Windows: Further Config...
- File Version Management in PHP
- Statistical View of Data in a Clustered Bar ...
- Creating a Multi-File Upload Script in PHP
- Executing Microsoft SQL Server Stored Proced...
- Code 10x More Efficiently Using Data Access ...
- A Few Tips for Speeding Up PHP Code
- The Modular Web Page
- Quick E-Commerce with PHP and PayPal
- Regression Testing With JMeter
- Building an Iterator with PHP

Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 



© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 10 - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials