Re: [jplatform] JApplicationWeb::initialise is deprecated

47 views
Skip to first unread message

Michael Babker

unread,
Oct 21, 2012, 7:01:02 PM10/21/12
to joomla-de...@googlegroups.com
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 - https://github.com/JTracker/jissues/blob/master/libraries/tracker/application/tracker.php

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>
Reply-To: <joomla-de...@googlegroups.com>
Date: Sunday, October 21, 2012 2:23 PM
To: <joomla-de...@googlegroups.com>
Subject: [jplatform] JApplicationWeb::initialise is deprecated

Hi folks,

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 individually?
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.

Thank you!
Reply all
Reply to author
Forward
0 new messages