Class -> File mapping – Need your feedback

Thursday, August 12th, 2010|Brainstorming, Version 4|by Romans|12 Comments

We have been discussing this internally but I’d like to hear your feedback on this matter.

It is Class to File mapping and use of upper / lower cases.

Read more

Tags:

Security model

Wednesday, June 9th, 2010|Brainstorming, Version 4|by Romans|

Some discussions prompted me to focus on security goals of ATK4. This post is about how we are approaching security and human-factor as well as flexibility in dealing with external systems.
Read more

Tags:

New features of DB and dsql planned for ATK 4.0

Wednesday, June 9th, 2010|Brainstorming, Version 4|by Romans|

Based on our current usage and user feedback we are preparing to start development on a new database layer. Thanks to new cool features in PHP (PDO) it’s going to be real easy. However we plan to add some exciting new features such as:

  • Rely on PDO, DSN format will change
  • Single-table dsql. You can still use joins, which will create multiple dsql instances and make them work together seamlessly.
  • Automatic alias management.
  • Database driver decides when to fetch data and how.
  • Clone-friendly
  • Multi-table update() and insert(). MySQL have some support for multi-table update, but this feature will take it to a whole new level.
  • Support for simple storage such as SimpleDB. Database engine will allow to compensate for missing [R]DB features.
  • dsql Implementation of Iterator, Countable, Seekable and more for nice syntactic sugar.
  • Much stricter towards field use. Do not allow developers to slip in any SQL logic.
  • Support for expression objects. Similar to $this->js(), this will allow you to build sql operators and functions dynamically
  • Proper support for sub-selects. Sub-select being another dsql query.
  • Better debugging
  • Automated tests
  • Transaction support.

Read more

Tags: ,

Thinking about improved implementation of Model/Table..

Thursday, April 22nd, 2010|Brainstorming, Version 4|by Romans|6 Comments

The way how the current Models/Controllers work it makes it quite difficult to flexibly manipulate them. When I am working with grid, I can specify controller, but only one. (through setController). I was thinking about a better way of implementing this. This is what I came up with.

Read more

Tags: