Hi everyone,

I have been using Mojavi for a number of years now and it is starting to
really show its age now. PHP4 is going EOL and I had better move up to the
latest development.

The reason why I liked Mojavi over other frameworks is because of it's power
and simplicity. It was very easy to create a solid structure to build an
application , and it was quick, And  it used the file system as its config.
As long as you stuck to the filename convention you were ok. You did not
have to spend ages setting up loads of setup files to get running. Plus I
found an extremely good tutorial which setup me nicely with the framework.

http://www.peterrobins.co.uk/it/mojavi/tutorial1.htm

I want to move up to agavi over other frameworks because it still looks
light on it's feet, does not force me to mess with my apache config, and I
don't HAVE to use an ORM database abstraction layer and I can still relate
to elements of mojavi. Ok, you now have a bunch of XML files to configure,
however I can live with that compared to other frameworks.

agavi has a severe lack of documentation which I know is being addressed,
Therefore it is taking me a bit of time to see how to implement some of the
features I'm used to. And I already see some new features I really like.
However it is really slow jumping from extended class to extended class to
see how the framework hangs together. What would be cool is to see some
working apps using some the key features filters, Models, DBUser Sessions,
Model Error handling ( Action->HandleError mojavi), Filters (Global and
Module)

I'm happy to write something like that once I get up to speed.

I have checked the list archive to get some more clues, but I could not find
anything to fill my gaps of knowledge. Most of the postings I found
explained changes made, rather than conceptually how the frameworks is
invoked and used.

Here are some the things I'm looking to understand

Views Templates/ Renderer's:
----------------------------------
What is a slot/Layer ?
What was a decorator ?
How are they used ?
How can specify my own template names  in Views , rather than just
IndexSucces.php etc etc?
How do I point 2 views at the same template ?
How do I return a view in a different module ?   return
array('ModuleName','HomeIndex',VIEW_SUCCESS);

Models
-----------
Does validation & filters run before Actions or Models
Do you use an extended AgaviAttributeHolder to pass data between
actions<->Models

Sessions
--------------
How I do change session handlers ?
Do I do my own cookie management ( $request->getCookies() )

Errors
---------
How do I track field validation errors ( $request->getError |
$request->setError)
How do I invoke my own errors ( Eg, businses logic )

I know I'm asking newbie questions, but all I need is a bit of comprehensive
code so I can see how the framework is being used. I'll soon be up to speed.


Thanks for your time.
_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users

Reply via email to