FormAPI Class Library

Send to friendPrinter-friendly version

I think that somewhere in this blog of mine i have told you that i am writing a FormAPI Class Library. I started with it when i was working on Tuwoo (which is still not done), but last night i deciced that i would rewrite it completely from scratch and release it as an open-source stand-alone class library (i may add this to a framework that i am slowly putting together).

I am creating it in such a way that you will be able to create any form type without ever having to hard code a form page again. I saw this idea in Drupal Core and i really like it. One thing that i must just say is that i have not taken any code from the Drupal Core or any of its modules to develop my FormApi class.

So, as I was saying, this class will allow you to create any form type you like. This will allow you to create web applications and you will not have to worry about making form pages - this will also allow you to write applications where you can create forms on-the-fly and not have to make extra files or write bloated functions.

The form is created in the form of an array. The array can get quite large very quickly in terms of amount of lines that you will have to add to it. These are considerations of mine and I am thinking about them quite seriously. I will be releasing Beta 1 in about a week so keep your fingers crossed.

This is a PHP5 application, if you are running PHP4 or lower go and upgrade, and it will run completely on its own - i have created it to be a stand-alone class. This allows you to write applications around it, or alternatively write the class around the application (it is open source, so u can rewrite it). Um, it has no database calls, i am trying to keep this as independent and easy to use as possible.

When i release the class i will allow file uploads to the site (only for authenticated users) so that if you find a bug or if you rewrite bits of it that you can let me know and alternatively let me have a copy of the new code.

I would be quite interested to know what kind of applications you are writing at the moment and also what programming languages u use, which u prefer and which u hate :)

Jonathan Wagener is a web developer specialising in PHP/MySQL. He is also fluent in both XHTML and CSS design. Espresso Online is the online playground of Jonathan where he posts interesting news articles and also writes bits and pieces.

cool

Submitted by thecaucasianhacker (not verified) on Thu, 10/09/2008 - 19:41.

cool, im looking forward to seeing it soon :)

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options