Adroit PHP framework

After lots of hard work I think the framework is ready for people to use and abuse. I consider it an ongoing project, so theres always new features to add and things to improve, but its to a point where I think it can be useful for other PHP developers. The whole purpose of the framework is to allow for fast and consistent development that is maintainable and reliable. Hopefully some others will find it fills those needs.

Adroit php framework

  • del.icio.us
  • Digg
and tagged , . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

4 Comments

  1. Posted May 28, 2007 at 3:19 pm | Permalink

    Great work!
    I’ll take a closer look at this!

  2. Michael
    Posted August 28, 2007 at 6:13 am | Permalink

    I’ve been struggling for three days now to try to get a simple application working using Adroit but the tutorials seem to be missing some vital connecting thread I require, because I still don’t get it. Granted this is the first MVC framework I’ve used, which is exactly why I chose Adroit — I was hoping it would be simple to learn. Actually I suspect it _is_ easy, but I’ve been over the tutorials until I’ve practically memorised them and I’m still not sure where to start.

    Simple example: I want to take data submitted via a form and validate it, then display any errors. Where in your tutorials do I start? How do I get user submitted data?

  3. admin
    Posted August 29, 2007 at 6:26 am | Permalink

    For starters, if you just want to get data submitted from a form, you would need to have a Model for that particular page. You’ll need to setup your page you’re on like described here. Following the naming conventions, you would create a Model class. Inside the models “process” function, the single parameter passed into it, “requestData” in the example, is an associative array containing data from GET/POST content. That should give you access to all the user submitted data. Depending if you want to store stuff off to a database, you may want to create an object representing the table entry, dom, and put validation in there, or simply do validation in your model. The dom tutorial explains how the validate method works on those objects.

    I’ve been working on the framework a bit and have improved a number of things in it, and am about ready to release that. Lemme know if this helps you out at all.

  4. Posted May 18, 2010 at 10:16 pm | Permalink

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Page optimized by WP Minify WordPress Plugin