Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
MVC in 3.0
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  12 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
AJH  
View profile  
 More options Jul 22 2012, 7:05 pm
From: AJH <aaron.hu...@gmail.com>
Date: Sun, 22 Jul 2012 16:05:26 -0700 (PDT)
Local: Sun, Jul 22 2012 7:05 pm
Subject: MVC in 3.0

When can we expect to see documentation and a sample component written for
Joomla! 3.0 new MVC structure?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nick Savov  
View profile  
 More options Jul 22 2012, 8:18 pm
From: "Nick Savov" <n...@iowawebcompany.com>
Date: Sun, 22 Jul 2012 19:18:47 -0500
Local: Sun, Jul 22 2012 8:18 pm
Subject: Re: [jgen] MVC in 3.0
Hi there,

Joomla! documentation (http://docs.joomla.org/) is community-created
documentation and anyone can contribute documentation.  New pages can be
created by anyone and current pages can be edited by anyone.

In short, you can expect to see documentation and a sample component
written for Joomla! 3.0's new MVC structure whenever someone takes the
time to write it.

Hope this helps!

If you are able, it would be great if you could contribute to the Joomla
3.0 documentation.

Kind regards,
Nick


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
AJH  
View profile  
 More options Jul 22 2012, 9:40 pm
From: AJH <aaron.hu...@gmail.com>
Date: Sun, 22 Jul 2012 18:40:19 -0700 (PDT)
Local: Sun, Jul 22 2012 9:40 pm
Subject: Re: [jgen] MVC in 3.0

Thanks Nick,

Has the MVC architecture in 3.0 been finalized (or close to)?  Are there
any core Joomla! components in the alpha using the new MVC design?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
elin  
View profile  
 More options Jul 23 2012, 1:57 am
From: elin <elin.war...@gmail.com>
Date: Sun, 22 Jul 2012 22:57:02 -0700 (PDT)
Local: Mon, Jul 23 2012 1:57 am
Subject: Re: [jgen] MVC in 3.0

Joomla 3.0 will include the platform packages for the new MVC but the CMS
itself will still be using the legacy MVC. This may change over the release
cycle if people do the work (I would love to see some people jumping in to
write the new controllers we would need for the CMS library for example and
also to help test Michael's work transitioning to JApplicationWeb). Lots of
us are doing pieces of work to make transitioning possible but a lot more
work is needed.  

By Joomla 4.0 the CMS will be transitioned to the new MVC.

Looking at the pull requests and activity in the platform repo it also
weems likely that by 3.1 we'll have a new  cache package available and that
will also be something to consider incorporating, potentially along with
JDatabaseObject.

As previously discussed on various lists although there are definitely
challenges it is possible to build a new MVC extension that works inside
the CMS

Elin


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Qson  
View profile  
 More options Jul 23 2012, 11:35 am
From: Qson <and...@qson.se>
Date: Mon, 23 Jul 2012 08:35:56 -0700 (PDT)
Local: Mon, Jul 23 2012 11:35 am
Subject: Re: MVC in 3.0

I found this manual page which describes the new MVC pattern really good:
http://developer.joomla.org/manual/chap-Joomla_Platform_Manual-MVC.html

If developing a new component intended for release in a year or so, is it
recommended to use the "new" MVC implementation or should we stick with the
"Legacy" implementation? And if I use the new implementation, will it work
when the CMS is still using the old implementation?

// Qson

Den måndagen den 23:e juli 2012 kl. 01:05:26 UTC+2 skrev AJH:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Babker  
View profile  
 More options Jul 23 2012, 11:59 am
From: Michael Babker <mbab...@flbab.com>
Date: Mon, 23 Jul 2012 10:59:17 -0500
Local: Mon, Jul 23 2012 11:59 am
Subject: Re: [jgen] Re: MVC in 3.0

You're going to loose a lot of the code in the legacy MVC structure if you go with the new.  For example, in the backend, you lose JControllerAdmin and JModelAdmin, which do a lot of the heavy lifting for components right now.  It isn't impossible to use the new code, but you will have to write a lot more code in the short term to use it and replicate the baseline functions available now (i.e. save, delete, etc.).

-Michael

Please pardon any errors, this message was sent from my iPhone.

On Jul 23, 2012, at 10:35 AM, Qson <and...@qson.se> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Prasit Gebsaap  
View profile  
 More options Jul 23 2012, 12:09 pm
From: Prasit Gebsaap <prasit.gebs...@gmail.com>
Date: Mon, 23 Jul 2012 23:09:46 +0700
Local: Mon, Jul 23 2012 12:09 pm
Subject: Re: [jgen] Re: MVC in 3.0

For my opinion, Joomla 3.0 is a short term support, so its MVC is for us,
developers, to prepare for use it when Joomla 3.5 LTS come into play. So
now we may use Joomla 3.0 for testing, and extension development that is to
be ready when Joomla 3.5 available.

I have test my Joomla 2.5 extension with Joomla 3.0 but it did not work. So
I have to go into changes in 3.0 first.

On 23 July 2012 22:35, Qson <and...@qson.se> wrote:

--
Prasit Gebsaap

Nonthaburi, Thailand
http://www.joomlant.com, http://www.joomlant.org
http://ktdms.blogspot.com, http://lowcost-it.blogspot,com


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
elin  
View profile  
 More options Jul 23 2012, 1:29 pm
From: elin <elin.war...@gmail.com>
Date: Mon, 23 Jul 2012 10:29:28 -0700 (PDT)
Local: Mon, Jul 23 2012 1:29 pm
Subject: Re: [jgen] Re: MVC in 3.0

Remember that you need to add Legacy any place you are directly extending
JModel, JView or JController.  If it is indirect (like through JModellist)
you don't have to, it's already taken care of.

Other than that and the fact that as announced long ago deprecated code has
been removed (I'd guess that JParameter is the biggest impact )  
extensions should only need minor changes ... although you will want to
look at the output changes that Kyle is working on.

3.0 is short term support but it is where the most significant structural
changes will be made. Unless something changes dramatically the MVC for 3.0
is the existing MVC and will be for the entire 3.x series since within a
series we don't do migration.   That said, I think many people are anxious
to be using the newer classes and if people want to jump in and start
working on the supporting reusable classes for CMS components equivalent to
JModeladmin, JControllerAdmin, and so on that would be great.  As I said, I
think the controllers would be the ideal place to start.

Of course if you are building stand alone platform applications the new MVC
and jApplicationWeb/JApplicationCLI are completely the way you should work
and the nice thing about the way we have done this is that the new packages
are already right there on your server having arrived with the CMS.

Elin


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Prasit Gebsaap  
View profile  
 More options Jul 23 2012, 5:47 pm
From: Prasit Gebsaap <prasit.gebs...@gmail.com>
Date: Tue, 24 Jul 2012 04:47:59 +0700
Local: Mon, Jul 23 2012 5:47 pm
Subject: Re: [jgen] Re: MVC in 3.0

Thanks, Elin for useful information. So in the case to move 2.5 extension
to 3.0, we have to
1. modify JController::getInstance to JControllerLegay::getInstance in
master component file.
2. modify extends JController to JControllerLegacy in master/default
controller.
3. modify extends JView to JViewLegacy in all of view classes.

In general case, we have to change JController to JControllerLegacy, JModel
to JModelLegacy and JView to JView:Legacy. The other classes have no
effect.

But the best thing is to use the new MVC approach introducing in Joomla!
3.0.

On 24 July 2012 00:29, elin <elin.war...@gmail.com> wrote:

--
Prasit Gebsaap

Nonthaburi, Thailand
http://www.joomlant.com, http://www.joomlant.org
http://ktdms.blogspot.com, http://lowcost-it.blogspot,com


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
elin  
View profile  
 More options Jul 23 2012, 6:22 pm
From: elin <elin.war...@gmail.com>
Date: Mon, 23 Jul 2012 15:22:15 -0700 (PDT)
Local: Mon, Jul 23 2012 6:22 pm
Subject: Re: [jgen] Re: MVC in 3.0

Yes that's what to do in your file (you can see this in the core
extensions). And these will work in 2.5 also.

Elin


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
elin  
View profile  
 More options Jul 23 2012, 6:45 pm
From: elin <elin.war...@gmail.com>
Date: Mon, 23 Jul 2012 15:45:10 -0700 (PDT)
Local: Mon, Jul 23 2012 6:45 pm
Subject: Re: [jgen] Re: MVC in 3.0

I want to point out Michael's work here

http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEd...

If people are really interested in moving toward the new MVC we need to
move to JApplicationWeb and to do taht we need testers and helpers.

Elin


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Prasit Gebsaap  
View profile  
 More options Jul 24 2012, 2:14 am
From: Prasit Gebsaap <prasit.gebs...@gmail.com>
Date: Tue, 24 Jul 2012 13:14:30 +0700
Local: Tues, Jul 24 2012 2:14 am
Subject: Re: [jgen] Re: MVC in 3.0

Great, I think I can help for testing.

On 24 July 2012 05:45, elin <elin.war...@gmail.com> wrote:

--
Prasit Gebsaap

Nonthaburi, Thailand
http://www.joomlant.com, http://www.joomlant.org
http://ktdms.blogspot.com, http://lowcost-it.blogspot,com


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »