JApplicationWeb and JApplication

245 views
Skip to first unread message

Júlio Pontes

unread,
Feb 8, 2012, 1:14:18 PM2/8/12
to Joomla! Platform Development
Hi,

I´m study JApplicationWeb and I´ve got a question for you guys. on
future JApplication will be replaced for JApplicationWeb? Its possible
have a installer to JApplicationWeb on Joomla 3.0?

Rouven Weßling

unread,
Feb 8, 2012, 1:35:07 PM2/8/12
to joomla-de...@googlegroups.com

On 08.02.2012, at 19:14, Júlio Pontes wrote:

Its possible
have a installer to JApplicationWeb on Joomla 3.0?

What do you mean by this?

Rouven

Júlio Pontes

unread,
Feb 8, 2012, 1:47:09 PM2/8/12
to joomla-de...@googlegroups.com
Today Joomla has 3 Applications: JAdministrator, JSite and JInstaler.
All these applications are registered on JApplicationHelper.

Since 1.5 I´ve seen this coment:

    /**
     * Gets information on a specific client id.  This method will be useful in
     * future versions when we start mapping applications in the database.
     *
     * This method will return a client information array if called
     * with no arguments which can be used to add custom application information.
     *
     * @param   integer  $id      A client identifier
     * @param   boolean  $byName  If True, find the client by its name
     *
     * @return  mixed  Object describing the client or false if not known
     *
     * @since   11.1
     */

in joomla-platform we have a JApplicationWeb has "same concept" as JApplication. We can build a new webapp( http://docs.joomla.org/How_to_create_a_stand-alone_application_using_the_Joomla!_Platform ).

on Joomla 3.0 these apps will be refactored to use new class?
about load applications from database its possible next version?

Rouven Weßling

unread,
Feb 8, 2012, 2:00:53 PM2/8/12
to joomla-de...@googlegroups.com
On 08.02.2012, at 19:47, Júlio Pontes wrote:

on Joomla 3.0 these apps will be refactored to use new class?

I'm fairly certain we're not gonna drop JApplication just like that. There's a lot of code there not covered by JApplicationWeb. There's some talk about refactoring JApplication to sit on top of JApplicationWeb but I don't think that's decided yet.

about load applications from database its possible next version?

Not sure what you mean.


On 08.02.2012, at 19:14, Júlio Pontes wrote:

Its possible
have a installer to JApplicationWeb on Joomla 3.0?

I also still don't understand the question here, sorry.

Rouven

Elin Waring

unread,
Feb 9, 2012, 8:14:55 AM2/9/12
to joomla-de...@googlegroups.com
I think anyone writing new applications is using JApplicationWeb or JApplicationCLI as appropriate but the CMS is not close to being ready to switch to JApplicationWeb nor is JAppicationWeb really ready for it.   That's really a CMS issue anyway not a platform issue.

If you want to install a web application right now I would use the file installer. I think that we're going to see a lot of web applications that sit next to each other (including sitting next to the CMS) and it probably makes sense to let those be installed from archive files rather  from single files   (real applications unlike those in the examples are going to have lots of files) using the existing installer so if that is what you are talking about, I'd be for someone writing that. The same goes for CLI applications; we are going to see tons of those for scheduled tasks. Last month at our JUG meeting there was a presentation about an example of using a CLI+cron job for handling a work flow issue, and I think everyone left thinking they had 10 uses for something like that.   

I've been thinking for a while that the application might want to be aware of what other Joomla applications are installed, for example we were hearing about schedulers on another thread, an application would need to know what there is available to schedule.  But again I think that is probably something the application does.  Unless maybe we have a field like we do for database drivers that just reads the list in a cli folder or in a web folder or something else relatively trivial.

Elin

alikon

unread,
Feb 13, 2012, 5:48:04 AM2/13/12
to joomla-de...@googlegroups.com
@Elin
are publicly available "Last month at our JUG meeting there was a presentation about an example of using a CLI+cron job for handling a work flow issue"
i'm currently playing with CLI & cron & scheduled task matter , so i'm interested in this matter and i wish  someone other point of view exmaple and so on...

Elin Waring

unread,
Feb 13, 2012, 7:53:04 AM2/13/12
to joomla-de...@googlegroups.com
That person was just using her server's cPanel to set up the con job, which was mailing about new uploads every 15 minutes.

I think that Andrew has posted some useful examples in the platform-examples such as: 

Elin

alikon

unread,
Feb 14, 2012, 12:48:14 AM2/14/12
to Joomla! Platform Development
What ideas about an independent OS solution ?


p.s.
Already viewed platform examples
i can share my CLI example https://github.com/alikon/Jchecksum
> platform-examples such as:https://github.com/joomla/joomla-platform-examples/tree/master/cli/cr...
>
> Elin
Reply all
Reply to author
Forward
0 new messages