Baking Cakes With Php

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

1 comments

Comments 1 - 1 of 1 previous next Post a comment

  • + juarezpaf Juarez P. A. Filho 2 years ago
    Short presentation, but very clear. I’d like a large presentation about cakePHP. I think that Developers should make screencasts, presentations and so on about it. Maybe I build some sorts of.

Post a comment
Embed Video
Edit your comment Cancel

1 Favorite

Baking Cakes With Php - Presentation Transcript

  1. Baking Cakes with PHP Central Florida PHP 1
  2. Baking Cakes with PHP • What Cake is and Why You Need It • Ingredients • A Couple of Models • A Bunch of Views • A Controller or Two • A Pinch of ActiveRecord 2
  3. What Cake Is and Why You Need It 3
  4. Cake is... • A platform for rapid development • MVC + AR • Application Scaffolding • Compatible with PHP4 and PHP5 4
  5. MVC + AR = CakePHP 5
  6. Model,View, Controller • A design pattern for three tiers of data- driven applications • Modes represent data • Views represent the UI • Controllers handle logic 6
  7. Models • Represent data used within an application • Establish entity relationships • hasOne, hasMany, belongsTo, hasManyAndBelongsTo • Provide validation rules 7
  8. Views • Represent a page template • Are directly associated with a controller’s action • Usually are XHTML pages in a site, however may serve any content: • RSS Feeds, Email Messages, etc... 8
  9. Controllers • Manage logic for a section of an app • Act as a liaison between models and views • Use actions to trigger functionality in an app • index, view, add, edit, delete, etc... 9
  10. ActiveRecord • Another design pattern specifically reading and writing to a database • Represents a single record • Adds additional functionality to models for saving and destroying a record • Eliminates manual SQL completely 10
  11. Example anyone? 11

+ Michael GirouardMichael Girouard, 3 years ago

custom

1511 views, 1 favs, 0 embeds more stats

More info about this document

© All Rights Reserved

Go to text version

  • Total Views 1511
    • 1511 on SlideShare
    • 0 from embeds
  • Comments 1
  • Favorites 1
  • Downloads 103
Most viewed embeds

more

All embeds

less

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

Cancel
File a copyright complaint
Having problems? Go to our helpdesk?

Categories

Tags