473,840 Members | 1,617 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

My MVC critique

Looking at different MVC frameworks from many langauges from PHP to
Python, I've concluded that the explosion of MVC frameworks is mainly
due to undisciplined & unexperienced programmers.

Nobody would argue about the separation of the layers because this is
not the problem I have with it, if anything most implementations
emphasis separation at the wrong places. The end solutions end up
looking very mickey mouse.

It's been long asserted starting with Smalltalk there there be a
separation of layers with an application starting with the view (what
the user sees), the controller (which controls the flow of the
application) and the model (the representation of the data).

What MVC does not emphasis is the separation of the data access layer,
one of the most important pieces of an application. So what is done
with this? For many the DAL is either encapsulated within the model
or some toolkit that generates the SQL for them, this may lead to
decreased overall security of a database and inefficient queries.

The catalyst for MVC frameworks on the web has been the slew of poorly
written applications mostly in PHP & Perl , this has driven many
programmers looking for control & consistency. However this need is
short sighted when people find a magical bullet MVC Framework, and do
not place emphasis on minimization & reusability of code. Therefore
you end up with the same paradigm as before, just crappy applications
separated out into pieces.

No doubt there should be separation of layers, but there also has to
be a real dialogue about programming as a discipline & science, not as
a craft of gluing popsicle sticks together.

There should be more discussion of architecture before a project
starts and more code reviews and discussions in project teams. Also
one off projects (putting one programming on an island giving them a
compiler/interpreter) is a great way to get a crappy application.

That being said, I presently don't use one, but I'm still holding out
for an MVC framework that works for me and provides me power,
flexibility and is well documented.

Mar 22 '07 #1
4 1282

On Mar 22, 2007, at 9:29 AM, sc***********@g mail.com wrote:
mickey mouse
Well, at least you spelled Mickey Mouse right... :-)
Mar 22 '07 #2
sc***********@g mail.com a écrit :
(snip)
<ot>
What MVC does not emphasis is the separation of the data access layer,
Why should it ? Smalltalk is not only a language, it's a complete
environment that provides automatic persistency.

(snip some more OT stuff)
</ot>

And what's your question about Python, exactly ?
Mar 22 '07 #3
sc***********@g mail.com wrote:
Looking at different MVC frameworks from many langauges from PHP to
Python, I've concluded that the explosion of MVC frameworks is mainly
due to undisciplined & unexperienced programmers.

Nobody would argue about the separation of the layers because this is
not the problem I have with it, if anything most implementations
emphasis separation at the wrong places. The end solutions end up
looking very mickey mouse.

It's been long asserted starting with Smalltalk there there be a
separation of layers with an application starting with the view (what
the user sees), the controller (which controls the flow of the
application) and the model (the representation of the data).

What MVC does not emphasis is the separation of the data access layer,
one of the most important pieces of an application. So what is done
with this? For many the DAL is either encapsulated within the model
or some toolkit that generates the SQL for them, this may lead to
decreased overall security of a database and inefficient queries.

The catalyst for MVC frameworks on the web has been the slew of poorly
written applications mostly in PHP & Perl , this has driven many
programmers looking for control & consistency. However this need is
short sighted when people find a magical bullet MVC Framework, and do
not place emphasis on minimization & reusability of code. Therefore
you end up with the same paradigm as before, just crappy applications
separated out into pieces.

No doubt there should be separation of layers, but there also has to
be a real dialogue about programming as a discipline & science, not as
a craft of gluing popsicle sticks together.

There should be more discussion of architecture before a project
starts and more code reviews and discussions in project teams. Also
one off projects (putting one programming on an island giving them a
compiler/interpreter) is a great way to get a crappy application.

That being said, I presently don't use one, but I'm still holding out
for an MVC framework that works for me and provides me power,
flexibility and is well documented.
Xah, is that you?
Mar 23 '07 #4
James Stroud wrote:
sc***********@g mail.com wrote:
>Looking at different MVC frameworks from many langauges from PHP to
Python, I've concluded that the explosion of MVC frameworks is mainly
due to undisciplined & unexperienced programmers.

Nobody would argue about the separation of the layers because this is
not the problem I have with it, if anything most implementations
emphasis separation at the wrong places. The end solutions end up
looking very mickey mouse.

It's been long asserted starting with Smalltalk there there be a
separation of layers with an application starting with the view (what
the user sees), the controller (which controls the flow of the
application) and the model (the representation of the data).

What MVC does not emphasis is the separation of the data access layer,
one of the most important pieces of an application. So what is done
with this? For many the DAL is either encapsulated within the model
or some toolkit that generates the SQL for them, this may lead to
decreased overall security of a database and inefficient queries.

The catalyst for MVC frameworks on the web has been the slew of poorly
written applications mostly in PHP & Perl , this has driven many
programmers looking for control & consistency. However this need is
short sighted when people find a magical bullet MVC Framework, and do
not place emphasis on minimization & reusability of code. Therefore
you end up with the same paradigm as before, just crappy applications
separated out into pieces.

No doubt there should be separation of layers, but there also has to
be a real dialogue about programming as a discipline & science, not as
a craft of gluing popsicle sticks together.

There should be more discussion of architecture before a project
starts and more code reviews and discussions in project teams. Also
one off projects (putting one programming on an island giving them a
compiler/interpreter) is a great way to get a crappy application.

That being said, I presently don't use one, but I'm still holding out
for an MVC framework that works for me and provides me power,
flexibility and is well documented.

Xah, is that you?
Oh, wait...No. Not crossposted. Must be someone else.
Mar 23 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
1743
by: Saqib Ali | last post by:
Hello All, I m not sure if this is the right place to ask for a critique. If not please refer me to another group. Thanks. I would a criqtique of the following website: http://www.xml-dev.com/itnetcentrix/netcentrix.htm Thanks.
19
2561
by: TC | last post by:
Are there any good sites or forums for a web critique? I went to alt.html.critique and it's pretty dead.
9
2290
by: bowsayge | last post by:
Inspired by fb, Bowsayge decided to write a decimal integer to binary string converter. Perhaps some of the experienced C programmers here can critique it. It allocates probably way too much memory, but it should certainly handle 64-bit cpus :) #include <stdio.h> #include <stdlib.h> char * to_binary (unsigned long value) {
188
7272
by: christopher diggins | last post by:
I have posted a C# critique at http://www.heron-language.com/c-sharp-critique.html. To summarize I bring up the following issues : - unsafe code - attributes - garbage collection - non-deterministic destructors - Objects can't exist on the stack - Type / Reference Types
39
1946
by: Eric | last post by:
There is a VB.NET critique on the following page: http://www.vb7-critique.741.com/ for those who are interested. Feel free to take a look and share your thoughts. Cheers, Eric. Ps: for those on comp.programming, this may be off topic, but I've posted there because the critique was part of a discussion in that group.
0
9861
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9699
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10605
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10665
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10301
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7839
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5685
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5874
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
4078
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.