School of Computing and Information Systems CS 371 Web Application Programming CakePHP Server-side Framework.

Slides:



Advertisements
Similar presentations
WordPress Installation for Beginners Sheila Bergman
Advertisements

PHP + Framework + MVC. What is Framework? Common code - Generic functionality Extensible - Specific functionality Unlike library – Flow Dictated by.
CakePHP. A framework for developing applications in PHP Inspired by Ruby on Rails Follows MVC design pattern Convention over configuration –No wheel reinventing.
Samsung Smart TV is a web-based application running on an application engine installed on digital TVs connected to the Internet.
My Very First… Model View Controller Web Application with the Zend Framework New York City ZF Meetup.
Chapter 15 © 2010 by Addison Wesley Longman, Inc Origins and Uses of Ruby - Designed by Yukihiro Matsumoto; released in Use spread rapidly.
INSTALLATION OF WORDPRESS. WORDPRESS WordPress is an open source CMS, often used as a blog publishing application powered by PHP and MySQL. It has many.
Introduction to Web Based Application. Web-based application TCP/IP (HTTP) protocol Using WWW technology & software Distributed environment.
A complete web app using flex. You can use the flex builder to generate the php (server side) code for a flex-php application. As before, Php connects.
Website Development with PHP and MySQL Introduction.
PHP Scripting Language. Introduction “PHP” is an acronym for “PHP: Hypertext Preprocessor.” It is an interpreted, server-side scripting language. Originally.
Julien Thibault / Phil Brewster / Kristina Doing-Harris
Installing WordPress.org For Plugins and stuff…. Installing WordPress.org 2 phases: Download, then configure. 1. Download software onto web host.  Log.
BUS311: Website Development Lab. The world Web hosting site WEBSITE DEVELOPMENT BASICS Web browser URL Web pages (HTML) Web site development tools Web.
Overview of Framework by Ahamed Rifaudeen A. page - i Steps before entering into the Framework?  Basic knowledge of object-oriented programming (OOP)
Ruby on Rails: An Introduction JA-SIG Summer Conference 2007 Michael Irion The University of Tulsa.
RUBY ON RAILS It’s so rad. What we’ll cover  What is Ruby?  What is RoR?  Why RoR?  Developing with RoR  Deployment  Demo  Questions.
CodeIgniter - [Overview]
CSCI 6962: Server-side Design and Programming
Web-based IDE to create Model and Controller Components for MVC-based Web Applications on CakePHP Dec 13, 2010 Sugiharto Widjaja Advisor: Dr. Chris Pollett.
Session 5: Working with MySQL iNET Academy Open Source Web Development.
Technology Options. Entire Project – Technologies (over simplified) 1.Front-end 2.Database 3.Server-side scripting (front-end and database integration)
INFM603 Project Presentation Jenny Wu Prachi Chhokar.
© D. Wong  Indexes  JDBC  JDBC in J2EE (Java 2 Enterprise Edition)
© 2003 By Default! A Free sample background from Slide 1 Week 2  Free PHP Hosting Setup  PHP Backend  Backend Security 
M1G Introduction to Database Development 6. Building Applications.
Web Design and Development for E-Business By Jensen J. Zhao Copyright 2003 Prentice Hall, Inc. Web Design and Development for E-Business Jensen J. Zhao.
PHP + Framework + MVC CakePHP Lectures 1. What is Framework? CakePHP Lectures 2.
Accessing MySQL with PHP IDIA 618 Fall 2014 Bridget M. Blodgett.
CAKEPHP Blog tutorial. what you’ll need examples/blog/blog.html 2  A running web server  A database server.
ISYS 475 Project: Customizing a Zen Cart E-Commerce Site.
How to upload files to Altervista Overview:
Mainframe (Host) - Communications - User Interface - Business Logic - DBMS - Operating System - Storage (DB Files) Terminal (Display/Keyboard) Terminal.
MVC Concepts Basics Model-View-Controller (MVC) Concepts for Web Developers SoftUni Team Technical Trainers Software University
CF101: Welcome to ColdFusion Simon Horwith CTO, Etrilogy Ltd.
Security Considerations Steve Perry
RUBY ON RAILS (RoR) Ishwor Khadka. Why Ruby on Rails?
Apache, MySQL and PHP Installation and Configuration Chapter 2 MySQL Installation and Configuration.
WAMP Server Installatin Shiyun Wen. WAMP Server Installation  WAMP Server is an integrated installation of Apache, MySQL, and PHP for Windows. Following.
Rolando Gaytan Clay Schumacher Josh Weisskopf Cory Simon Aaron Steil (Reiman Gardens) – Client Dr. Tien Nguyen - Advisor.
Date : 3/04/2010 Web Technology Solutions Class: PHP Web Application Frameworks.
Server-Side Solutions Steve Perry
The basics of knowing the difference CLIENT VS. SERVER.
MySQL MySQL and PHP – interacting with a database.
Mr. Justin “JET” Turner CSCI 3000 – Fall 2015 CRN Section A – TR 9:30-10:45 CRN – Section B – TR 5:30-6:45.
Introduction to information systems RUBY ON RAILS dr inż. Tomasz Pieciukiewicz.
Intro to APACHE, MySQL, and PHP & freely available (hackable) Packages Aonghus Sugrue 04 Oct 2012.
This is the software we will use to load our html page up to the server. You can download a copy for home if you want to.
Basics Components of Web Design & Development Basics, Components, Design and Development.
//liveVirtualacademy2011/ What’s New for ASP.NET 4.5 and Web Development in Visual Studio 11 Developer Preview Γιώργος Καπνιάς MVP, MCT, MCDP, MCDBA, MCTS,
Top 50 Interview Questions & Answers in CakePHP. 2 Question : 1 What is CakePHP?  CakePHP is a free, open-source, rapid development framework for PHP.
Wordpress. What is Wordpress? Wordpress is a content management system. It is free and easy to use. It allows you to build dynamic websites It is built.
1 E-Site - FTP Services Setup / install guide. 2 About FTP services can run on any desired port(s) Runs as a windows service Works for all sites installed.
H OW TO INSTALL W ORDPRESS MANUALLY Enukesoftware.com.
COM621: Advanced Interactive Web Development Lecture 10 PHP and MySQL.
Moodle Install Guide Team 5 안정현 김현수 주채진 조수아. Moodle Install Enter moodle.org web site -> Go to Standard Moodle Packages in Downloads.
Team: Daniel, Jeremy, Tai, Mike, Slavko (Formerly “Team Ramani Map”)
Web Technology Solutions
Uplode Simple file storage CWEB Final Project
Download and install Oracle Developer Suite 10g & Developer suite
Content Management System
PHP Training at GoLogica in Bangalore
PHP / MySQL Introduction
Web Systems Development (CSC-215)
Login & administration page
Chapter 15 Introduction to Rails.
Web Servers / Deployment
MySQL Backup, Transfer and Restore
Web Technologies Computing Science Thompson Rivers University
Establish, configure and maintain a website/system
Presentation transcript:

School of Computing and Information Systems CS 371 Web Application Programming CakePHP Server-side Framework

School of Computing and Information Systems CS 371 Web Application Programming Server-side Frameworks More than just a library Often they enforce a structured paradigm for better organization Remove some of the tedium of creating objects from database Rapid development

School of Computing and Information Systems CS 371 Web Application Programming CakePHP Enforces MVC architecture Based on PHP Similarities to Ruby-on-rails convention over configuration convention means naming conventions – ie stu, stuModel, stuController, view/stu, etc configuration means config files – lookup files to connect models to controllers, etc.

School of Computing and Information Systems CS 371 Web Application Programming Directory structure cake root app model controller View –app1 –app2 many other folders – only showing the main ones

School of Computing and Information Systems CS 371 Web Application Programming CakePHP Database drivers for mysql, oracle, postgres, etc. define database connection in a configuration file access to database is through model model def is very simple with common tasks built in think about writing an app to read a record from a table, delete a record, etc. now think about automating it

School of Computing and Information Systems CS 371 Web Application Programming Models you can create a model for each table override AppModel can also define relations hasOne – one to one hasMany – one to many belongsTo – many to one hasAndBelongsToMany

School of Computing and Information Systems CS 371 Web Application Programming Controller logic for user tasks, associated with a URL, e.g. define function for each task/url in the function define logic to connect the model data to the desired view use php and object provided by CakePHP d'oh

School of Computing and Information Systems CS 371 Web Application Programming View views are defined in ctp files in specific view directory (cakeRoot/app/view/myApp) use html, css, javascript, php forms for input/edit

School of Computing and Information Systems CS 371 Web Application Programming Set up (from tutorial) download to public_html and unzip it (rename it cake) create the database create cake/app/Config/database.php public $default = array( 'datasource' => 'Database/Mysql', 'persistent' => false, 'host' => 'cis.gvsu.edu', 'login' => 'yourMysqlLogin', 'password' => 'yourMysqlPassword', 'database' => 'yourLogin', 'prefix' => '', ); change the security strings in core.php make tmp web-writable