In the tracker project we're working on, we load the various objects as we
need them (the session and dispatcher are handled in the constructor and the
document in our doExecute method). You can see that here -
As for the MVC paradigm, you can see how we handle that with the front end
components at https://github.com/JTracker/jissues/tree/master/components.
com_tracker is our main project, and com_users is actually the users
component imported from the CMS then converted to the new MVC paradigm.
We've built out some common model classes to replicate functionality we like
from the legacy JModel classes, but our controllers I think are a bit more
pure to the new MVC.
From: qson <and...@qson.se>
Date: Sunday, October 21, 2012 2:23 PM
Subject: [jplatform] JApplicationWeb::initialise is deprecated
I am trying to build my first web app using JPlatform. I see some examples
use JApplicationWeb::initialise but that will be deprecated in 13.1. What is
the recommended replacement? Is it to call loadSession, loadDocument
I can not find an example which use the new MVC paradigm. The platform
examples use direct output from the application or by themes.
Is there any help or examples that could get me in the right directions.