Exercises, examples and other material relating to training module Q915. This topic is presented on public courses
Ruby on Rails, %dj%
| Articles and tips on this subject | updated |
| 4066 | MVC and Frameworks - a lesson from first principles in PHP PHP is a nice, easy entry level embedded tagging system - an "HTML++" language in which programmers and web site developers can drop elements of code into a web page and perform simple and straigtforward tasks very quickly. But the downside of that is that the resultant file very quickly becomes a confusing ... | 2013-04-20 |
| 4010 | Really Simple Rails Rails is a "Web Framwork" that uses code written in the Ruby language to do the things that vary from one web application to another. There are a huge number of features common to many web applications, and by using a framework you can save yourself the trouble of rewriting all these common things, ... | 2013-02-17 |
| 3919 | What is a web framework? When you write web applications, there are many features you'll need which mirror features other people have needed too. Now - there's nothing to stop you writing your own code (maybe in Ruby, Python or Perl) including these features ... but wouldn't it be better to use the feature set that someone ... | 2012-11-17 |
| 2612 | The Model, View, Controller architecture (MVC) - what, why and how. You may have heard the "Model, View, Controller" mantra being bandied about, but what does it mean, why are some people so keen on it, and does it work? Where is it used?
What does MVC (Model, View, Controller) really mean?
It means that you divide your program / application into three areas.
The ... | 2012-06-23 (longer) |
| 3705 | Django Training Courses - UK We run regular public Python courses - for newcomers to programming (Learning to Program in Python) and for delegates with prior programming in another language (our Python Programming course). If you're going to be using Python within the Django web framework, we can extend the course to cover that ... | 2012-04-28 |
| 3624 | Why do we need a Model, View, Controller architecture? In the very early days of the web, it was a source of data - with files of marked up text (in HTML) being sent out to a browser program by a server running on a central computer. Requests to the central server were made in http (Hypertext transfer protocol), and the responses were translated by the ... | 2012-03-03 |
| 3454 | Your PHP website - how to factor and refactor to reduce growing pains As your project grows ... what do you change? In an ideal world, you would know exactly what you were coding before you started, and write the full job to spec to last for many years. This isn't an ideal world, though. Our web site has changed over the years - we now have "version 8" (See [here] to ... | 2011-09-24 (longest) |
| 3237 | Using functions to keep look and feel apart from calculations - simple C example There are a number of distinct elements in any program.
• There's the look and feel of the program to the outside world - what it says as it prompts, how its forms are displayed on a web page, the formatting of the results, how it reports errors, etc.
• There's the calculation bit that ... | 2011-04-09 |
| 2199 | Improving the structure of your early PHP programs When you first coded in PHP, you probably wrote a different script to handle each form in a series - it's the natural way when you're early in the learning process, but it can lead to repeated code that's hard to follow, and some really horrid complicated conditionals.
On Saturday and Sunday, I demonstrated ... | 2009-05-26 |
| 687 | Presentation, Business and Persistence layers in Perl and PHP I've been writing about the Presentation, Business and Persistence tiers (and within each of them the MVC or Model, View, Controller or MVC structure) for a JBoss presentation I'm doing this week - but I scarcely expected to find myself putting them to good if unusual use this evening when sorting out ... | 2008-05-10 |
1aea
Background information
Some modules are
available for download as a sample of our material or under an
Open Training Notes License for free download from
http://www.training-notes.co.uk.
Topics covered in this module
Architectuires for a web application.
The importance of keeping the elements apart.
Model - View - Controller - a look at each.
The Python way - frameworks such as Django.
The Ruby way - Ruby on Rails.
The PHP way - 4 layer model / Smartie, etc.
Complete learning
If you are looking for a complete course and not just a information on a single subject, visit our
Listing and schedule page.
Well House Consultants specialise in training courses in
Python,
Perl,
PHP, and
MySQL. We run
Private Courses throughout the UK (and beyond for longer courses), and
Public Courses at our training centre in Melksham, Wiltshire, England.
It's surprisingly cost effective to come on our public courses -
even if
you live in a different
country or continent to us.
We have a technical library of over 700 books on the subjects on which we teach.
These books are available for reference at our training centre. Also
available is the Opentalk
Forum for discussion of technical questions.