Posted by zdzisio on 10/11/07 07:00
Tyno Gendo pisze:
>
> I stumbled upon the CodeIgniter framework last night and it looks pretty
> interesting.
I like their concept of bulding controller, and routing acton names.
The db abstraction is nice but what I lack is strict separation of
application elements.
I like working with aplications that actually DON'T have direct access
to data .
When I write basic logic of an aplication I prefer to work with objects
(say: of a Document class) that know their data container mapings (ie
which fields in which tables reflect which object variables) and public
metods (ie load() save() delete()) that i can use.
but In CI its so easy to write:
$this->db->query('SELECT name, title, email FROM my_table');
it might be a bliss for someone, but, Idon't like it.
When I'm deciding to use framework I do not want freedom to do whatever
I want. I want clear information where to put different parts of the
code. CI is strict about it. you could puyt everything in Contoller and
it would work
z.
[Back to original message]
|