login/register

Snip!t from collection of Alan Dix

see all channels for Alan Dix

Snip
summary

#!/usr/bin/python # MVC Howto - Introduction & code # Wh... stands for "Model", "View" & "Controller", a way of sepe... into # manageable and independent chunks that can be cha... use MVC? # Because code is independent from each other, ... for you to

Code Snippets: Model, View, Controller HOWTO [python] [cli] [shell] [mvc] [tutorial]
http://www.bigbold.com/snippets/posts/show/1050#related

Categories

/Channels/HCI stuff

[ go to category ]

For Snip

loading snip actions ...

For Page

loading url actions ...

#!/usr/bin/python # MVC Howto - Introduction & code # What is "MVC"? # MVC stands for "Model", "View" & "Controller", a way of seperating your code into # manageable and independent chunks that can be changed easily. # Why use MVC? # Because code is independent from each other, it becomes easier for you to change part of the code to do what you want. # For example, you could change where data is shown without changing anything else!

HTML

<span class="comment">#!/usr/bin/python</span> <span class="comment"># MVC Howto - Introduction &amp; code</span> <span class="comment"># What is "MVC"?</span> <span class="comment"># MVC stands for "Model", "View" &amp; "Controller", a way of seperating your code into</span> <span class="comment"># manageable and independent chunks that can be changed easily.</span> <span class="comment"># Why use MVC?</span> <span class="comment"># Because code is independent from each other, it becomes easier for you to change part of the code to do what you want.</span> <span class="comment"># For example, you could change where data is shown without changing anything else!</span> <span class="comment"></span>