Google Groups Home
Help | Sign in
Claroline 2.0 : MVC or not?
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
  5 messages - Collapse all
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
Seb`pir  
View profile
 More options Feb 13, 10:48 am
From: "Seb`pir" <s.pir...@gmail.com>
Date: Wed, 13 Feb 2008 07:48:26 -0800 (PST)
Local: Wed, Feb 13 2008 10:48 am
Subject: Claroline 2.0 : MVC or not?
Hi all,

I'm wondering if we should go to MVC modelling for Claroline 2.0.  It
seems that a lot of frameworks tend to use MVC, or at least offer
tools to build a MVC app.

So the question is :

Should we build Claroline 2.0 on a MVC pattern or not ?
What are your pro/contra ?

Read more about MVC : http://en.wikipedia.org/wiki/Model-view-controller

Regards,

Sébastien


    Reply to author    Forward  
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.
dcondevigoATgmail.com  
View profile
 More options Mar 7, 5:06 am
From: "dcondevigoATgmail.com" <dcondev...@gmail.com>
Date: Fri, 7 Mar 2008 02:06:51 -0800 (PST)
Local: Fri, Mar 7 2008 5:06 am
Subject: Re: Claroline 2.0 : MVC or not?
I think that the core of the Claroline 2.0 should be based on a stable
and proven pattern, and well ... the MVC pattern has been used
successfully for years in thousands of web apps. Maybe there are
another ways of doing things (even better), but if you are not going
to develop a general purpose PHP framework, I would reduce the
experiments to the minimum ;-) .

I would not consider as an option starting Claroline 2.0 from scratch,
nowadays you can find some php frameworks that can reduce the time and
effort of developing web apps, and most of them are MVC frameworks. I
really like these ones:

CakePHP - http://www.cakephp.org/
Symfony - http://www.symfony-project.org/
Zend Framework - http://framework.zend.com/

These frameworks usually provide (by themselves or using other
libraries):
-Database abstraction
-Internationalization/localization tools
-Ajax integration
-MVC request processing
-Templating system
-Unit testing
-Form helpers
-Application management tools
-Logging
-Extending mechanisms

The big problem that I find with the MCV part of these frameworks is
that when you start to use one, it's quite difficult to change to
another one. Because of this, the decision of which one to choose,
should be largely meditated.

I use symfony for web application development, and it helps us a lot
to reduce the time and effort of web development. It helps us to
concentrate in the problem that we are solving, and reduces the time
wasted in web development specific problems. I think that the best
advantage of the MVC pattern is that it helps to organize the work and
split the tasks between developers with different skills (designers,
web developers, database designers, etc. )

Redards,

Diego.

On 13 Feb, 16:48, "Seb`pir" <s.pir...@gmail.com> wrote:


    Reply to author    Forward  
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.
Se?bastien Piraux  
View profile
 More options Mar 7, 6:14 am
From: Se?bastien Piraux <s.pir...@gmail.com>
Date: Fri, 07 Mar 2008 12:14:57 +0100
Local: Fri, Mar 7 2008 6:14 am
Subject: Re: [Claroline developers] Re: Claroline 2.0 : MVC or not?
Hi Diego, hi all,

Good to read from you.

Starting Claroline 2.0 from scratch is not an option anymore.  Its best
practice and les time consuming to be confident with existing frameworks.

My personnal choice was rather Zend Framework as, so far as I know, it
doesn't force you to use MVC and doesn't force to use a particular MVC
structure.  Maybe is it possible in other frameworks you point but I do
not know them enough.  But as you say, the choice must be largely
meditated.  I suggest another mailing-list thread for that anyway.

I like MVC concept because of the advantages you point in your message
and its why I think we should start using it for 2.0

Other thought anyone ?

Regards,

Sébastien

dcondevigoATgmail.com a écrit :


    Reply to author    Forward  
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.
ZeFredz  
View profile
 More options Mar 7, 7:01 am
From: ZeFredz <zefr...@gmail.com>
Date: Fri, 07 Mar 2008 13:01:20 +0100
Local: Fri, Mar 7 2008 7:01 am
Subject: Re: [Claroline developers] Re: Claroline 2.0 : MVC or not?

Se?bastien Piraux wrote:
> I like MVC concept because of the advantages you point in your message
> and its why I think we should start using it for 2.0

Hello,

I think using MVC in Claroline 2.0 is really a good idea. It will bring
a lot of flexibility to the application.

On the other hand, MVC often reduce the performance of an application
when combined to database mapping. I think this must be remembered when
developing the application kernel.

Regards,

--
------------ Frederic Minne -----------------
01111010 01100101 01100110 01110010
01100101 01100100 01111010
mail : zefr...@gmail.com
jabberID : zefr...@frimouvy.org
----------------------------------------------


    Reply to author    Forward  
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.
ZeFredz  
View profile
 More options Apr 14, 5:46 am
From: ZeFredz <zefr...@gmail.com>
Date: Mon, 14 Apr 2008 11:46:22 +0200
Local: Mon, Apr 14 2008 5:46 am
Subject: Re: [Claroline developers] Re: Claroline 2.0 : MVC or not?
Salut tout le monde,

Pour info je vous fait suivre un message posté par un utilisateur sur la
liste AFUP et qui résume assez bien ma vision des templates PHP :

"Certes, un système de template est fortement utile pour implémenter
MVC. Mais PHP étant un moteur de template on peut implémenter MVC
facilement, sans pour autant rajouter de librairie de templates.
Dans les faits, c'est ma réalité d'aujourd'hui, utiliser un php très
simple qui se contente d'afficher au sein du HTML. Tout le travail est
réalisé dans des itérateurs, tant pour le formatage que les
traitements.
Et honnêtement, entre un template PHP et un template Smarty, je vois
la même complexité, et les mêmes difficultés pour un non développeur.
Donc autant rester simple, non?"

A++

--
------------ Frederic Minne -----------------
01111010 01100101 01100110 01110010
01100101 01100100 01111010
mail : zefr...@gmail.com
jabberID : zefr...@frimouvy.org
----------------------------------------------


    Reply to author    Forward  
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 »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google