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.
My name is Brad Harris, and I currently reside in the Denver Colorado area. I'm an engineer @ Yahoo!, dedicated to making things work. PHP is my weapon of choice for the server side, but my creative side thrives on Javascript and CSS.
My Recent Ramblings
Popular Posts
- Simple jQuery image rollover script
- Customize your Picasa Web Gallery
- Format Currency in Javascript (simplified)
- Slikcalc - Easy Javascript Calculations
- Ajax requests when users stop typing
- Getting keycode values in Javascript
- Javascript widget approaches: Singleton vs Prototype
- Complex Javascript Event Handling: EventMediator
- Javascript getFirstDescendantBy()
- SayItOnTheWall.com
3 Comments
Great work!
I’ll take a closer look at this!
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?
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.