As we nearing our deadline fro 4.2 release a lot of cool features have been added into development branch of Agile Toolkit such as:
- Completely new “TMail” implementation
- Completely new “DB” implementation based on PDO
- Completely new “DSQL” implementation
- Completely new “Model” implementation
- Completely new SMlite implementation
- Improvements in Site Debugging
The new implementations are functionally compatible with the 4.1 branch, although the do offer a number of benefits. In this article, I’ll highlight some of the new features about the new component implementation.
Another important feature of all the new modules is that they are are under heavy automated testing from the very start.
How do we turn it over and make things easier? Answer is — PHP UI Framework.
Welcome to the series of posts which helps you understand Agile Toolkit if you are coming from one of the other PHP Frameworks.
This post focuses on developers who are already familiar with CI (Code Igniter) and are willing to try Agile Toolkit.
With increasing popularity of Agile Toolkit, I’m getting more requests from volunteers and people who want to actively learn it. While forum and community portal is still in our short-term plans, we are now using chat.stackoverflow.com for daily communication.
You would need to register with stack overflow and get some reputation if you want to chat, so be sure to ask a couple of “atk4″ questions (or answers) http://stackoverflow.com/tags/atk4
I now need your help with testing. It shouldn’t take too much time. I would love if you could test non-mysql database connectivity.
The test-suite is located in github, with public access:
Installation is straightforward, similar to https://github.com/agiletech/colubris/wiki/Installation in the configuration file you would need to add:
Instead of mysql you can use different database. Once you open it locally, you should see this:
I am combining the new module from experementall stuff and dblite and it turns out AWESOME. Parametric queries, sub-queries, cache, everything is done elegantly:
I will document it all properly as soon as the module is finished. Please report any errors right away. Other areas will be eventually added. Do not use new PDO driver for production yet. It will be made more compatible and more integrated with the rest of Agile Toolkit.
Sneak peak into 4.1 which is scheduled to be released this summer.
- New Theme. Your web application will look even sexier by default. We will also keep current “jui” theme. Both themes are using jQuery UI CSS framework and 960 grid system, but will also allow full-width applications.
- Possibly improved template parser. I’ve run couple of tests on real-life application. Agile Toolkit is quite fast. The component with takes most of the time is SMlite (our template parser). By rewriting it more efficiently we might be able to improve raw performance of applications. There are still few bugs to iron out. (If you are really good with regular expressions, please contact me, I could use some help!)
- Testing for the rest of us. Honestly, I think other testing suites for PHP suck. So we’ll have our own. Writing test scripts will be as easy as adding 5-line function. You will see a visual console right away which will automatically capture output, will save testing results into database with revisions and additional information, will allow to convert unit tests into speed-tests and memory consumption tests. It will also have some other nifty features.
- PDO support (although we will primarily support only MySQL)
- Model to SQL convertor.
- New add-on: Sexy password checker based on crack-lib. To add: $field->add(‘StrengthChecker’,null,’after_field’);
- New add-on: Infinite-add form
- New add-on: AJAX CRUD
- Filestore_Image: Support for image uploads, automates resize, crop and other management.
- SEO goodies: Simpler way to customize meta-tags
Many other enhancements, listed here: http://agiletoolkit.org/whatsnew or in github: https://github.com/atk4/atk4/commits/devel
As you probably know, Agile Toolkit is free to use if you are using it in Open-Source project. We plan to also offer it for free for personal, education and non-profit projects. We are also will be giving away commercial licenses to early adopters. If you are already using Agile Toolkit, get in touch with us for a free license.
As our launch draws closer, we will deploy community forum and other resources. Stay tuned by following or subscribing!
In this article I am comparing many different aspects of the 3 different ORM systems. ORM means Object Relational Mapping and it is a way to present database data in object-oriented way. Agile Toolkit is a full PHP UI Framework but it comes with a built-in ORM (Object Relational Mapping). Propel and Doctrine are the two most popular ORM engines for PHP today. In this article I am comparing many different aspects of the 3 different ORM systems.
We are looking forward to releasing 4.0.4 version and are thinking what kind of features people need in a stable branch. Currently we would like to add:
- Question feed from StackOverflow embedded into example app
- Issue feed from github.com
- Back-port support for setModel() from 4.1 branch
Are there anything else what you are willing to see in next STABLE release. Our priority is stability of the code and compatibility for existing 4.0 software, but please comment and suggest.
Forms are the foundation of interactive web and what we call Web 2.0. In this article I will walk through the possible problems web developers encounter when creating web forms and solutions to those problems.
This article will be useful to people who are starting web development or who are experienced at it.
This article refers to Form implementation in Agile Toolkit. For documentation and demonstrations of forms in Agile Toolkit see http://agiletoolkit.org/doc/form
, file upload