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
Example of how to build an MVC application
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
  Messages 1 - 25 of 29 - Collapse all  -  Translate all to Translated (View all originals)   Newer >
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
 
Stefan Neculai  
View profile  
 More options Oct 23 2012, 5:27 am
From: Stefan Neculai <stefan.necu...@gmail.com>
Date: Tue, 23 Oct 2012 12:27:42 +0300
Local: Tues, Oct 23 2012 5:27 am
Subject: Example of how to build an MVC application

Hello,

Is there any example of how to build an MVC application using Joomla!
Framework?

--
Thanks,
Stefan Neculai


 
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.
Marius van Rijnsoever  
View profile  
 More options Oct 23 2012, 5:30 am
From: Marius van Rijnsoever <mariu...@gmail.com>
Date: Tue, 23 Oct 2012 17:30:27 +0800
Local: Tues, Oct 23 2012 5:30 am
Subject: Re: [jplatform] Example of how to build an MVC application

Sure
http://lmgtfy.com/?q=mcv+example+joomla
On Oct 23, 2012 5:27 PM, "Stefan Neculai" <stefan.necu...@gmail.com> 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.
Stefan Neculai  
View profile  
 More options Oct 23 2012, 5:37 am
From: Stefan Neculai <stefan.necu...@gmail.com>
Date: Tue, 23 Oct 2012 12:37:07 +0300
Local: Tues, Oct 23 2012 5:37 am
Subject: Re: [jplatform] Example of how to build an MVC application

Ignoring what  Marius van Rijnsoever said has anyone an example of how to
build an MVC app? I am looking for an MVC app itself rather then how to
build a component in the CMS.

--
Thanks again,
Stefan

On Tue, Oct 23, 2012 at 12:30 PM, Marius van Rijnsoever
<mariu...@gmail.com>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.
Marius van Rijnsoever  
View profile  
 More options Oct 23 2012, 5:43 am
From: Marius van Rijnsoever <mariu...@gmail.com>
Date: Tue, 23 Oct 2012 17:43:36 +0800
Local: Tues, Oct 23 2012 5:43 am
Subject: Re: [jplatform] Example of how to build an MVC application
Easy took me two seconds to modify the search:

http://lmgtfy.com/?q="mcv+application"+joomla+example

top hit give a detailed tutorial:

http://tutpages.com/?option=com_content&view=article&id=10%3Ahow-do-i...

On Tue, Oct 23, 2012 at 5:37 PM, Stefan Neculai


 
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.
Stefan Neculai  
View profile  
 More options Oct 23 2012, 5:58 am
From: Stefan Neculai <stefan.necu...@gmail.com>
Date: Tue, 23 Oct 2012 12:58:49 +0300
Local: Tues, Oct 23 2012 5:58 am
Subject: Re: [jplatform] Example of how to build an MVC application

Thanks Marius but you are totally unuseful.

--
Stefan

On Tue, Oct 23, 2012 at 12:43 PM, Marius van Rijnsoever
<mariu...@gmail.com>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.
Marius van Rijnsoever  
View profile  
 More options Oct 23 2012, 6:10 am
From: Marius van Rijnsoever <mariu...@gmail.com>
Date: Tue, 23 Oct 2012 18:10:42 +0800
Local: Tues, Oct 23 2012 6:10 am
Subject: Re: [jplatform] Example of how to build an MVC application
yes that last answer was useless indeed, but to give me credit i did
one handed while putting the kids in bath. One more attempt:

https://www.google.com.au/search?q=+howto+buildjoomla+framework+appli...

http://docs.joomla.org/How_to_create_a_stand-alone_application_using_...

google is your friend :) happy to help with more questions.....

On Tue, Oct 23, 2012 at 5:58 PM, Stefan Neculai


 
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.
Stefan Neculai  
View profile  
 More options Oct 23 2012, 6:27 am
From: Stefan Neculai <stefan.necu...@gmail.com>
Date: Tue, 23 Oct 2012 13:27:04 +0300
Local: Tues, Oct 23 2012 6:27 am
Subject: Re: [jplatform] Example of how to build an MVC application

Well.. thank you for the 3rd time in a row. FYK the example from the last
link is written by me. Now, could you please use your both hands to take
care of the kids as you don't understand what I am looking for?

--
Stefan

On Tue, Oct 23, 2012 at 1:10 PM, Marius van Rijnsoever
<mariu...@gmail.com>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.
Marius van Rijnsoever  
View profile  
 More options Oct 23 2012, 6:30 am
From: Marius van Rijnsoever <mariu...@gmail.com>
Date: Tue, 23 Oct 2012 18:30:39 +0800
Local: Tues, Oct 23 2012 6:30 am
Subject: Re: [jplatform] Example of how to build an MVC application

Excellent thanks for your hard work on these docs!!!!!

Obviously I can't get the full picture of what you want, so I will sign off
now and leave it to the rest here ;)

Best wishes, marius
On Oct 23, 2012 6:27 PM, "Stefan Neculai" <stefan.necu...@gmail.com> 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.
Ole Ottosen (ot2sen)  
View profile  
 More options Oct 23 2012, 6:56 am
From: "Ole Ottosen (ot2sen)" <ot2...@gmail.com>
Date: Tue, 23 Oct 2012 12:56:45 +0200
Local: Tues, Oct 23 2012 6:56 am
Subject: Re: [jplatform] Example of how to build an MVC application

Hi Stefan,

In the upcoming weekend Rouven is to do 2 sessions at our J!Day Denmark on
that exact topic:
http://joomladay.dk/sessions/sessions#session-1
I guess that if we ask him nicely there would be a good chance that he
will publish the workshop material for the community to use and learn from.
:)

Just wait till he stops by and read this thread, then you will know.

Best regards,

Ole
On Tue, Oct 23, 2012 at 12:30 PM, Marius van Rijnsoever
<mariu...@gmail.com>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.
Chad Windnagle  
View profile  
 More options Oct 23 2012, 9:20 am
From: Chad Windnagle <c...@s-go.net>
Date: Tue, 23 Oct 2012 06:20:34 -0700
Local: Tues, Oct 23 2012 9:20 am
Subject: Re: [jplatform] Example of how to build an MVC application

Hi Stefan:

Check out tr jtracker project which is using the new MVC classes:

https://github.com/JTracker/jissues

--

------------------------------
[image: Small Logo] <http://www.s-go.net/>
*Chad Windnagle*
s-go Consulting
*607-330-2574 x103
607-229-6260 (Cell)
Website Design - SEO - Video <http://www.s-go.net/>*
Follow Me: [image: Facebook] <http://www.facebook.com/sgoconsulting> [image:
LinkedIn] <http://www.linkedin.com/in/drmmr763> [image:
Twitter]<http://www.twitter.com/drmmr763>


 
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.
Stefan Neculai  
View profile  
 More options Oct 23 2012, 10:59 am
From: Stefan Neculai <stefan.necu...@gmail.com>
Date: Tue, 23 Oct 2012 17:59:53 +0300
Local: Tues, Oct 23 2012 10:59 am
Subject: Re: [jplatform] Example of how to build an MVC application

Thanks Chad. Elin told me about Louis's terster (
https://github.com/LouisLandry/pulltester) which is more appropriate to
what I was looking for.

--
Stefan


 
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.
Stefan Neculai  
View profile  
 More options Oct 23 2012, 11:05 am
From: Stefan Neculai <stefan.necu...@gmail.com>
Date: Tue, 23 Oct 2012 18:05:25 +0300
Local: Tues, Oct 23 2012 11:05 am
Subject: Re: [jplatform] Example of how to build an MVC application

Hey,

Thanks Ole. I would definitely look forward for such material from Rouven.

--
Stefan

On Tue, Oct 23, 2012 at 1:56 PM, Ole Ottosen (ot2sen) <ot2...@gmail.com>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.
Elin Waring  
View profile  
 More options Oct 23 2012, 2:37 pm
From: Elin Waring <elin.war...@gmail.com>
Date: Tue, 23 Oct 2012 14:37:18 -0400
Local: Tues, Oct 23 2012 2:37 pm
Subject: Re: [jplatform] Example of how to build an MVC application

Actually
https://github.com/LouisLandry/tester

Is better.

Elin

On Tue, Oct 23, 2012 at 11:05 AM, Stefan Neculai
<stefan.necu...@gmail.com>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.
Andrew Eddie  
View profile  
 More options Oct 25 2012, 2:43 am
From: Andrew Eddie <mambob...@gmail.com>
Date: Thu, 25 Oct 2012 16:43:06 +1000
Local: Thurs, Oct 25 2012 2:43 am
Subject: Re: [jplatform] Example of how to build an MVC application
You've got a pretty good handle on the M & the C already.  The only
changes I've made in my head lately is that I don't think model's need
to have "Model" in the class name anymore.  For example,
JSolrModelQuery could just become JSolrQuery (extends JModelBase).
It's probably still worth putting "Controller" in the name of a
controller if there's nothing better to call it (the only reason the
tradition was established was to do all the crazy name parsing in 1.5
so you could infer the model and view names from the controller).

I've not really had the chance to play with views yet, but they should
really easy to implement.  Wouldn't mind throwing some ideas and gists
around about how that can be approached from a ground-up Platform App
point of view. I like the idea of going to "theme" rather than
"template" (Louis is a big fan of this) as the container for layouts
and the media resources [that are exposed to the web server].  If you
wanted single theme apps, it would probably look something like:

/code
../theme
..../tmpl (or /layout)
..../theme.php
/www
../theme
..../css
..../js

Multi-theme is obviously not hard to imagine from there:

/code
../theme
..../axiom
....../tmpl (overrides)
..../tmpl (default layouts)
..../theme.php (default theme container)
/www
../theme
..../axiom
....../css
....../js

Just shooting from the hip really ...

You'd probably have an application view class that does things like
injecting a model, adding a magic __get method to get model methods,
etc.

Regards,
Andrew Eddie
http://learn.theartofjoomla.com - training videos for Joomla developers

On 24 October 2012 01:05, Stefan Neculai <stefan.necu...@gmail.com> 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.
Stefan Neculai  
View profile  
 More options Oct 25 2012, 10:46 am
From: Stefan Neculai <stefan.necu...@gmail.com>
Date: Thu, 25 Oct 2012 17:46:22 +0300
Local: Thurs, Oct 25 2012 10:46 am
Subject: Re: [jplatform] Example of how to build an MVC application

Hi Andrew,

Thanks for the tips. I am planning to play with this a little over the
weekend and came back with a gist for some feedback and suggestions.

--
Stefan


 
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.
javier gómez  
View profile  
 More options Oct 25 2012, 10:58 am
From: javier gómez <javier.gomez.co...@gmail.com>
Date: Thu, 25 Oct 2012 08:58:08 -0600
Local: Thurs, Oct 25 2012 10:58 am
Subject: Re: [jplatform] Example of how to build an MVC application

Stefan,

We are all waiting for the results of your investigation with a lot of
expectation. There is a lot of devs that would love to see an easy example
of "How to build an app with the new MVC". It will be awesome if you can
share a bit of documentation of your experience. If not possible, anyway we
will be happy checking your code.

^_^

Thanks very much

On 25 October 2012 08:46, Stefan Neculai <stefan.necu...@gmail.com> wrote:

--
Javi

 
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.
Donald Gilbert  
View profile  
 More options Oct 30 2012, 11:31 am
From: Donald Gilbert <dilbert4l...@gmail.com>
Date: Tue, 30 Oct 2012 08:31:43 -0700 (PDT)
Local: Tues, Oct 30 2012 11:31 am
Subject: Re: Example of how to build an MVC application

Rouven posted this code from his Joomla Day 2012 this past weekend
- https://github.com/realityking/jd12dk

It's a good walkthrough example of building a basic guestbook app on the
Joomla Platform using the new MVC style.


 
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.
Chad Windnagle  
View profile  
 More options Oct 30 2012, 11:41 am
From: Chad Windnagle <drmmr...@gmail.com>
Date: Tue, 30 Oct 2012 11:41:02 -0400
Local: Tues, Oct 30 2012 11:41 am
Subject: Re: [jplatform] Re: Example of how to build an MVC application

That's great! Thanks Rouven!

-Chad

Regards,
Chad Windnagle
Fight SOPA <https://www.google.com/landing/takeaction/>


 
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.
Mark Dexter  
View profile  
 More options Oct 30 2012, 11:49 am
From: Mark Dexter <dextercow...@gmail.com>
Date: Tue, 30 Oct 2012 08:49:06 -0700
Local: Tues, Oct 30 2012 11:49 am
Subject: Re: [jplatform] Re: Example of how to build an MVC application
Any chance someone could write this up in the docs Wiki? Mark


 
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.
Ofer Cohen  
View profile  
 More options Oct 30 2012, 7:10 pm
From: Ofer Cohen <oferc...@gmail.com>
Date: Wed, 31 Oct 2012 01:09:42 +0200
Local: Tues, Oct 30 2012 7:09 pm
Subject: Re: [jplatform] Re: Example of how to build an MVC application

What about the HMVC? Is the new Joomla-Platform capable for this?

Thanks, Ofer


 
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.
Andrew Eddie  
View profile  
 More options Oct 30 2012, 7:18 pm
From: Andrew Eddie <mambob...@gmail.com>
Date: Wed, 31 Oct 2012 07:17:52 +0800
Local: Tues, Oct 30 2012 7:17 pm
Subject: Re: [jplatform] Re: Example of how to build an MVC application
I've added the link to this page on the repo's wiki:

https://github.com/joomla/joomla-platform/wiki/Examples

Regards,
Andrew Eddie
http://learn.theartofjoomla.com - training videos for Joomla developers

On 30 October 2012 23:49, Mark Dexter <dextercow...@gmail.com> 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.
Andrew Eddie  
View profile  
 More options Oct 30 2012, 7:18 pm
From: Andrew Eddie <mambob...@gmail.com>
Date: Wed, 31 Oct 2012 07:18:26 +0800
Local: Tues, Oct 30 2012 7:18 pm
Subject: Re: [jplatform] Re: Example of how to build an MVC application
HMVC is just a pattern - there's no reason why you can't implement it

Regards,
Andrew Eddie

On 31 October 2012 07:09, Ofer Cohen <oferc...@gmail.com> 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.
David Hurley  
View profile  
 More options Oct 30 2012, 7:27 pm
From: David Hurley <david.hur...@websparkinc.com>
Date: Tue, 30 Oct 2012 19:27:04 -0400
Local: Tues, Oct 30 2012 7:27 pm
Subject: Re: [jplatform] Re: Example of how to build an MVC application
If you mean utilizing partial views HMVC, then I've implemented it. Not sure how amazing it is. :) I created another phtml.php (partial html) that implements the render() function. In a helper I instantiate the view and then return the view object. Once I have the view assigned to a variable I can simply $variable->render() from the location where I want to show the view.

-
Thanks,
David

On Oct 30, 2012, at 7:18 PM, Andrew Eddie <mambob...@gmail.com> 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.
Ofer Cohen  
View profile  
 More options Oct 31 2012, 6:32 pm
From: Ofer Cohen <oferc...@gmail.com>
Date: Thu, 1 Nov 2012 00:32:29 +0200
Local: Wed, Oct 31 2012 6:32 pm
Subject: Re: [jplatform] Re: Example of how to build an MVC application

Andrew, why we changed the JView to interface in 12.1??


 
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.
Andrew Eddie  
View profile  
 More options Oct 31 2012, 8:13 pm
From: Andrew Eddie <mambob...@gmail.com>
Date: Thu, 1 Nov 2012 08:12:53 +0800
Local: Wed, Oct 31 2012 8:12 pm
Subject: Re: [jplatform] Re: Example of how to build an MVC application
Unfortunately that's a simple question with a very long answer.  For
now, I'll just refer you to the pull request:

https://github.com/joomla/joomla-platform/pull/1120

Regards,
Andrew Eddie

On 1 November 2012 06:32, Ofer Cohen <oferc...@gmail.com> 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.
Messages 1 - 25 of 29   Newer >
« Back to Discussions « Newer topic     Older topic »