Programming in PHP Have you Cake? Presenter: Nguyen Thanh Hai Mar. 30 th, 2014

Size: px
Start display at page:

Download "Programming in PHP Have you Cake? Presenter: Nguyen Thanh Hai Mar. 30 th, 2014"

Transcription

1 Programming in PHP Have you Cake? Presenter: Nguyen Thanh Hai Mar. 30 th, 2014

2 Agenda Introduction Components needed Model-View-Controller Cake convention Relationship between Models Validation of data Baking the cake Hands on Conclusion

3 Introduction Rapid development framework for PHP Using design patterns: MVC and ORM Similar to Zend and Ruby on Rails (ROR) framework Scaffolding support - 2 line code for CRUD Easier to maintain Reduces development costs Write less code Current version (Stable: , 2.4.6, 3.0.0)

4 Introduction (cont) Example of sites done using CakePHP CIT: National project of Dr. Le Quyet Thang CIT: The first research project of students in 2011 Cooperative projects: Quan ly ke hoach kinh doanh tap doan Viettel 4/27 theses in 2011, 2012: Quan ly thuc hanh, Quan ly thu vien, Many research topics of students in Semester 3

5 Components to run Cake Database - MySQL Apache PHP Recommended Installation Xampp - 10 mins installation plus configuration :)

6 Model-view-controller In short MVC Multi-tier architecture Decoupling of program Business logic Data presentation User interaction Benefits Reduce complexity in architectural design Increase flexibility and reuse.

7 Model-View-Controller (cont) Model domain-specific representation of the information View Renders the model into a form suitable for interaction Controller Processes and responds to events To make use of this capability, convention needs to be followed

8 Convention - Filename Controller KissesAndHugsController -> kisses_and_hugs_controller.php Model OptionValue -> option_value.php Component MyHandy -> my_handy.php Helper BestHelperEver -> best_helper_ever.php

9 Convention - Model Model class names are singular Capitalized for single-word models Person, Monkey UpperCamelCased for multi-word models. GlassDoor, LineItem, ReallyNiftyThing many-to-many join tables tags_users Model filenames use a lower-case underscored syntax person.php, line_item.php, really_nifty_thing.php

10 Convention - Model Database tables plural, lower-case underscored syntax people, monkeys, glass_doors, line_items, really_nifty_things

11 Example of model file - school.php <?php class School extends AppModel { var $name = 'School'; var $validate = array( //'id' => VALID_NUMBER, 'schname' => VALID_NOT_EMPTY, ); }?>

12 Convention - Controller Class names are plural Capitalized for single-word controllers, and UpperCamelCased for multi-word controllers. Controller file names use a lower-case underscored syntax For protected member visibility, controller action names should be prepended with '-. For private member visibility, controller action names should be prepended with ' '.

13 Example of controller - schools_controller.php <? class SchoolsController extends AppController { var $name = 'Schools'; var $scaffold; function beforefilter(){ //check if user login and user login type } }?>

14 Convention (more) More convention for cake Helpers Vendors Components

15 Convention - Views Named after actions they display. Name the view file after action name, in lowercase. You can force an action to render a specific view by calling $this->render( create'); at the end of your action.

16 Model Relationship 3 types of relationship between model Has One Has Many Has And Belong To Many (HATBM)

17 Built-in validation for data VALID_NOT_EMPTY VALID_ VALID_NUMBER VALID_YEAR Regex allowed

18 Baking cake Create class files of model, controller and view files effortlessly Automate the creation of model class, validation for attributes and relationship. Able to bake controllers and views. Run terminal window to execute bake script. Steps Go to place where you can to create the application via cd command /usr/bin/php {cakehome}/scripts/bake.php -help

19 Setting up cake Copy and paste into www or htdocs

20 An example CREATE TABLE IF NOT EXISTS `majors` ( `id` int(11) NOT NULL, `class_name` varchar(30) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; CREATE TABLE IF NOT EXISTS `students` ( `id` int(11) NOT NULL, `name` varchar(30) NOT NULL, `password` varchar(30) NOT NULL, `birthday` date NOT NULL, `major_id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1;

21 Hands On Demo

22 Conclusion Easy to use Quick implementation Quick to deploy Free =) Once you use it, you want more of it

23 Recommended links cakephp.org cakephpvn.org/ php.net apachefriends.org/en/xampp.html

24 THANK YOU FOR YOUR ATTENTION

25 Any Question?

December 13, 2010 Swathi Vegesna. Committee Members Dr. Chris Pollett Dr. Sami Khuri Dr. T.Y.Lin

December 13, 2010 Swathi Vegesna. Committee Members Dr. Chris Pollett Dr. Sami Khuri Dr. T.Y.Lin December 13, 2010 Swathi Vegesna Committee Members Dr. Chris Pollett Dr. Sami Khuri Dr. T.Y.Lin Agenda Goal Tools used Design Features Implementation Conclusion Goal Build the View Component of a Web-based

More information

Rails: MVC in action

Rails: MVC in action Ruby on Rails Basic Facts 1. Rails is a web application framework built upon, and written in, the Ruby programming language. 2. Open source 3. Easy to learn; difficult to master. 4. Fun (and a time-saver)!

More information

Ruby on Rails. SITC Workshop Series American University of Nigeria FALL 2017

Ruby on Rails. SITC Workshop Series American University of Nigeria FALL 2017 Ruby on Rails SITC Workshop Series American University of Nigeria FALL 2017 1 Evolution of Web Web 1.x Web 1.0: user interaction == server roundtrip Other than filling out form fields Every user interaction

More information

Enterprise Systems & Frameworks

Enterprise Systems & Frameworks Enterprise Systems & Frameworks CS25010 - Web Programming Connor Goddard 5 th November 2015 Aberystwyth University 1 INTRODUCTION In today s session, we will aim to cover the following: Multi-tier Architectural

More information

CAKEPHP. Blog tutorial

CAKEPHP. Blog tutorial CAKEPHP Blog tutorial what you ll need A running web server A database server Basic PHP knowledge basic knowledge of the MVC 2 Database /* First, create our posts table: */ CREATE TABLE posts ( id INT

More information

Strategies for Rapid Web Prototyping. Ruby on Rails. Clemens H. Cap

Strategies for Rapid Web Prototyping. Ruby on Rails. Clemens H. Cap Strategies for Rapid Web Prototyping Ruby on Rails Strategies for Rapid Web Prototyping DRY: Don't repeat yourself Convention over Configuration Separation of Concern Templating MVC: Model View Controler

More information

Case Study Schedule. NoSQL/NewSQL Database Distributed File System Peer-to-peer (P2P) computing Cloud computing Big Data Internet of Thing

Case Study Schedule. NoSQL/NewSQL Database Distributed File System Peer-to-peer (P2P) computing Cloud computing Big Data Internet of Thing Notes Grades statistics Midterm 2: average 16.32 with standard deviation 2.63 Total points so far: average 48.59 (out of 58) with standard deviation 5.00 The grading so far: [52.2, 58]: A; [43.6, 52.2):

More information

PHP MVC Framework (CakePHP)

PHP MVC Framework (CakePHP) PHP MVC Framework (CakePHP) 안철수연구소최호진 2008-10-23 당신은누구십니까? Ruby On Rails 좀들어보신분 PHP 로잘개발해보실분 MVC 의중요성을아시는분 작은것파일럿으로해보신분 Why FRAMEWORK? 어느팀이나복잡해지면생기는것 MVC 개념은항상존재해왔다코딩스타일을일치개발절차까지정형화 Why CakePHP? PHP! Ruby

More information

Introduction to PHP. Handling Html Form With Php. Decisions and loop. Function. String. Array

Introduction to PHP. Handling Html Form With Php. Decisions and loop. Function. String. Array Introduction to PHP Evaluation of Php Basic Syntax Defining variable and constant Php Data type Operator and Expression Handling Html Form With Php Capturing Form Data Dealing with Multi-value filed Generating

More information

Ruby on Rails 3 March 14th, 2011 Ken Li Allison Pon Kyra Leimert Matt Delaney Edward Bassett

Ruby on Rails 3 March 14th, 2011 Ken Li Allison Pon Kyra Leimert Matt Delaney Edward Bassett CMPUT 410 Ruby on Rails 3 March 14th, 2011 Ken Li Allison Pon Kyra Leimert Matt Delaney Edward Bassett Introduction - What is Ruby on Rails? Ruby on Rails is an open source web application development

More information

Symfony is based on the classic web design pattern called the MVC pattern

Symfony is based on the classic web design pattern called the MVC pattern -Hemalatha What is Symfony Symfony is an Open source web application framework for PHP5 projects. PHP is a general purpose scripting language designed for web development The best use of PHP is in creating

More information

Database Systems. phpmyadmin Tutorial

Database Systems. phpmyadmin Tutorial phpmyadmin Tutorial Please begin by logging into your Student Webspace. You will access the Student Webspace by logging into the Campus Common site. Go to the bottom of the page and click on the Go button

More information

Object-Relational Mapping

Object-Relational Mapping Object-Relational Mapping Object-Relational Mapping Software Architecture ORM Problems ORM Solutions Demo Software Architecture Part 1 Architecture Separation of Concerns A design principle that comprises

More information

CakePHP. Getting ready. Downloading CakePHP. Now that you have PHP installed let s create a place in htdocs for your CakePHP development:

CakePHP. Getting ready. Downloading CakePHP. Now that you have PHP installed let s create a place in htdocs for your CakePHP development: CakePHP Getting ready Now that you have PHP installed let s create a place in htdocs for your CakePHP development: [tblgrant@silo htdocs]$ pwd /u/tblgrant/apache/htdocs [tblgrant@silo htdocs]$ mkdir cakewalks

More information

Digitized Engineering Notebook

Digitized Engineering Notebook Governors State University OPUS Open Portal to University Scholarship All Capstone Projects Student Capstone Projects Spring 2017 Digitized Engineering Notebook Raviteja Koripalli Governors State University

More information

Web Technologies VU ( ) Vedran Sabol. Nov 13, ISDS, TU Graz. Vedran Sabol (ISDS, TU Graz) Web Technologies Nov 13, / 60

Web Technologies VU ( ) Vedran Sabol. Nov 13, ISDS, TU Graz. Vedran Sabol (ISDS, TU Graz) Web Technologies Nov 13, / 60 Web Technologies VU (706.704) Vedran Sabol ISDS, TU Graz Nov 13, 2017 Vedran Sabol (ISDS, TU Graz) Web Technologies Nov 13, 2017 1 / 60 Outline 1 Separation of Concerns Design Principle 2 Model-View-Controller

More information

MySQL Installation Guide (Windows)

MySQL Installation Guide (Windows) Step1- Install MySQL MySQL Installation Guide (Windows) The following description is based on MySQL 5.7.17 for Windows. Go to MySQL download page ( http://dev.mysql.com/downloads/mysql/ ). Click the Go

More information

Chapter 3. Introduction to relational databases and MySQL. 2010, Mike Murach & Associates, Inc. Murach's PHP and MySQL, C3

Chapter 3. Introduction to relational databases and MySQL. 2010, Mike Murach & Associates, Inc. Murach's PHP and MySQL, C3 1 Chapter 3 Introduction to relational databases and MySQL Slide 2 Objectives Applied 1. Use phpmyadmin to review the data and structure of the tables in a database, to import and run SQL scripts that

More information

MySQL Installation Guide (Windows)

MySQL Installation Guide (Windows) Step1- Install MySQL MySQL Installation Guide (Windows) The following description is based on MySQL 5.7.10 for Windows. Go to MySQL download page (http://dev.mysql.com/downloads/mysql/). Click the Windows

More information

WHMCS RRPproxy Module

WHMCS RRPproxy Module WHMCS RRPproxy Module - Installation and Userguide WHMCS RRPproxy Module Version 2.7 Table of contents 1. Introduction WHMCS RRPproxy Module... 3 1.1 Functions WHMCS RRPproxy Module... 3 1.2 System requirements...

More information

Get in Touch Module 1 - Core PHP XHTML

Get in Touch Module 1 - Core PHP XHTML PHP/MYSQL (Basic + Advanced) Web Technologies Module 1 - Core PHP XHTML What is HTML? Use of HTML. Difference between HTML, XHTML and DHTML. Basic HTML tags. Creating Forms with HTML. Understanding Web

More information

DevShala Technologies A-51, Sector 64 Noida, Uttar Pradesh PIN Contact us

DevShala Technologies A-51, Sector 64 Noida, Uttar Pradesh PIN Contact us INTRODUCING PHP The origin of PHP PHP for Web Development & Web Applications PHP History Features of PHP How PHP works with the Web Server What is SERVER & how it works What is ZEND Engine Work of ZEND

More information

Web Engineering (Lecture 08) WAMP

Web Engineering (Lecture 08) WAMP Web Engineering (Lecture 08) WAMP By: Mr. Sadiq Shah Lecturer (CS) Class BS(IT)-6 th semester WAMP WAMP is all-in-one Apache/MySQL/PHP package WAMP stands for: i) Windows ii) iii) iv) Apache MySql PHP

More information

Tooling for Ajax-Based Development. Craig R. McClanahan Senior Staff Engineer Sun Microsystems, Inc.

Tooling for Ajax-Based Development. Craig R. McClanahan Senior Staff Engineer Sun Microsystems, Inc. Tooling for Ajax-Based Development Craig R. McClanahan Senior Staff Engineer Sun Microsystems, Inc. 1 Agenda In The Beginning Frameworks Tooling Architectural Approaches Resources 2 In The Beginning 3

More information

Courslets, a golf improvement web service. Peter Battaglia

Courslets, a golf improvement web service. Peter Battaglia Courslets, a golf improvement web service Peter Battaglia Discussion Project Overview Design and Technologies Utilized Rails and REST URLs, URLs, URLs Rails and Web Services What s s exposed as a service?

More information

MISP core development crash course How I learned to stop worrying and love the PHP

MISP core development crash course How I learned to stop worrying and love the PHP MISP core development crash course How I learned to stop worrying and love the PHP Team CIRCL 1 of 17 MISP Training @ Helsinki 20180423 Some things to know in advance... MISP is based on PHP 5.6+ Using

More information

Introduction to relational databases and MySQL

Introduction to relational databases and MySQL Chapter 3 Introduction to relational databases and MySQL A products table Columns 2017, Mike Murach & Associates, Inc. C3, Slide 1 2017, Mike Murach & Associates, Inc. C3, Slide 4 Objectives Applied 1.

More information

Client-Side Page Element Web-Caching

Client-Side Page Element Web-Caching San Jose State University SJSU ScholarWorks Master's Projects Master's Theses and Graduate Research 2009 Client-Side Page Element Web-Caching Ramya Karri San Jose State University Follow this and additional

More information

Object Declaration. <class name>: the name of the class to which the object belongs <object name>: the name of the object (any valid identifier)

Object Declaration. <class name>: the name of the class to which the object belongs <object name>: the name of the object (any valid identifier) Object Declaration Every object used must be declared Syntax: ; : the name of the class to which the object belongs : the name of the object (any valid

More information

SmartList Senior Project Paper

SmartList Senior Project Paper Brandon Messineo Dr. Jackson SmartList Senior Project Paper We live in a world where technology is used frequently. We use technology to tell the time, predict the weather, write a paper, or communicate

More information

Time to EARN. On Job Training. Time to L-EARN

Time to EARN. On Job Training. Time to L-EARN Time to EARN On Job Training Time to L-EARN COURSE DESCRIPTION On Job Training Program designed to build students for industry. so they can get Job easily. In this course you will be working on Live Projects,

More information

10264A CS: Developing Web Applications with Microsoft Visual Studio 2010

10264A CS: Developing Web Applications with Microsoft Visual Studio 2010 10264A CS: Developing Web Applications with Microsoft Visual Studio 2010 Course Number: 10264A Course Length: 5 Days Course Overview In this course, students will learn to develop advanced ASP.NET MVC

More information

PROFESSIONAL TRAINING

PROFESSIONAL TRAINING PROFESSIONAL TRAINING What you will be Able to Achieve during This course This course will enable you to build real-world, dynamic web sites development design and promotion. Using PHP language and database

More information

Advanced Web Tutorial 10

Advanced Web Tutorial 10 Advanced Web Tutorial 10 Editor Brackets / Visual Studio Code Goals Creating a blog with PHP and MySql. - Set up and configuration of Xampp - Learning Data flow using Create/Read/Update and Delete Things

More information

CSCI-UA: Database Design & Web Implementation. Professor Evan Sandhaus Lecture #23: SQLite

CSCI-UA: Database Design & Web Implementation. Professor Evan Sandhaus  Lecture #23: SQLite CSCI-UA:0060-02 Database Design & Web Implementation Professor Evan Sandhaus sandhaus@cs.nyu.edu evan@nytimes.com Lecture #23: SQLite Database Design and Web Implementation Administrivia! Homework HW 8

More information

A Simple Course Management Website

A Simple Course Management Website A Simple Course Management Website A Senior Project Presented to The Faculty of the Computer Engineering Department California Polytechnic State University, San Luis Obispo In Partial Fulfillment Of the

More information

Ruby on Rails 3. Robert Crida Stuart Corbishley. Clue Technologies

Ruby on Rails 3. Robert Crida Stuart Corbishley. Clue Technologies Ruby on Rails 3 Robert Crida Stuart Corbishley Clue Technologies Topic Overview What is Rails New in Rails 3 New Project Generators MVC Active Record UJS RVM Bundler Migrations Factory Girl RSpec haml

More information

A Project Report on Omni Access

A Project Report on Omni Access A Project Report on Omni Access Course: Software Lab (CS699) Instructor: Prof. G Sivakumar Submitted by : Manan Shah 08305004 Vishal Parajapati 08305030 Harshad Inarkar 08305066 12 November, 2008 1 Introduction

More information

Available online at ScienceDirect. Procedia Computer Science 104 (2017 ) ICTE 2016, December 2016, Riga, Latvia

Available online at  ScienceDirect. Procedia Computer Science 104 (2017 ) ICTE 2016, December 2016, Riga, Latvia Available online at www.sciencedirect.com ScienceDirect Procedia Computer Science 104 (2017 ) 51 56 ICTE 2016, December 2016, Riga, Latvia Analysis and Practical Application of PHP Frameworks in Development

More information

CSCI-UA: Database Design & Web Implementation. Professor Evan Sandhaus

CSCI-UA: Database Design & Web Implementation. Professor Evan Sandhaus CSCI-UA:0060-02 Database Design & Web Implementation Professor Evan Sandhaus sandhaus@cs.nyu.edu evan@nytimes.com Lecture #10: Open Office Base, Life on the Console, MySQL Database Design and Web Implementation

More information

20486-Developing ASP.NET MVC 4 Web Applications

20486-Developing ASP.NET MVC 4 Web Applications Course Outline 20486-Developing ASP.NET MVC 4 Web Applications Duration: 5 days (30 hours) Target Audience: This course is intended for professional web developers who use Microsoft Visual Studio in an

More information

BrownNow A Current Events Application for Brown University. Craig Hawkins Advisor: Stan Zdonik Masters Project Report, Brown University 2017

BrownNow A Current Events Application for Brown University. Craig Hawkins Advisor: Stan Zdonik Masters Project Report, Brown University 2017 BrownNow A Current Events Application for Brown University Craig Hawkins Advisor: Stan Zdonik Masters Project Report, Brown University 2017 1. Introduction Brown University has an existing events notification

More information

SJSU Course Evaluation. Team 131

SJSU Course Evaluation. Team 131 SJSU Course Evaluation Team 131 What is our objective Objective is to provide useful information about courses in SJSU for students who will be enrolled in them for the next semester. -Veteran students

More information

WHMCS DNS.be Module. - Installation and Userguide. WHMCS DNS.be Module Version 2.8

WHMCS DNS.be Module. - Installation and Userguide. WHMCS DNS.be Module Version 2.8 WHMCS DNS.be Module - Installation and Userguide WHMCS DNS.be Module Version 2.8 Table of contents 1. Introduction WHMCS DNS.be Module... 3 1.1 Functions WHMCS DNS.be Module... 3 1.2System requirements...

More information

5/19/2015. Objectives. JavaScript, Sixth Edition. Introduction to the World Wide Web (cont d.) Introduction to the World Wide Web

5/19/2015. Objectives. JavaScript, Sixth Edition. Introduction to the World Wide Web (cont d.) Introduction to the World Wide Web Objectives JavaScript, Sixth Edition Chapter 1 Introduction to JavaScript When you complete this chapter, you will be able to: Explain the history of the World Wide Web Describe the difference between

More information

OO and Ahh! An Introduction to Object Oriented Programming With PHP. Division 1 Systems. John Valance. Copyright John Valance Division 1 Systems

OO and Ahh! An Introduction to Object Oriented Programming With PHP. Division 1 Systems. John Valance. Copyright John Valance Division 1 Systems OO and Ahh! An Introduction to Object Oriented Programming With PHP John Valance Division 1 Systems johnv@div1sys.com Copyright John Valance Division 1 Systems About John Valance 30+ years IBM midrange

More information

Design of a Generic Administrator Module and User Component in Yii-based Web Applications using the Concept of Observatory

Design of a Generic Administrator Module and User Component in Yii-based Web Applications using the Concept of Observatory Design of a Generic Administrator Module and User Component in Yii-based Web Applications using the Concept of Observatory 1,2 Percy Okae, 3 Amos David 1 Computer Science Department, African University

More information

IELM 511 Information Systems Design Labs 5 and 6. DB creation and Population

IELM 511 Information Systems Design Labs 5 and 6. DB creation and Population IELM 511 Information Systems Design Labs 5 and 6. DB creation and Population In this lab, your objective is to learn the basics of creating and managing a DB system. One way to interact with the DBMS (MySQL)

More information

About the Tutorial. Audience. Prerequisites. Disclaimer & Copyright. TurboGears

About the Tutorial. Audience. Prerequisites. Disclaimer & Copyright. TurboGears About the Tutorial TurboGears is a Python web application framework, which consists of many modules. It is designed around the MVC architecture that are similar to Ruby on Rails or Struts. TurboGears are

More information

Publish Joomla! Article

Publish Joomla! Article Enterprise Architect User Guide Series Publish Joomla! Article Author: Sparx Systems Date: 10/05/2018 Version: 1.0 CREATED WITH Table of Contents Publish Joomla! Article 3 Install Joomla! Locally 4 Set

More information

Publish Joomla! Article

Publish Joomla! Article Enterprise Architect User Guide Series Publish Joomla! Article Sparx Systems Enterprise Architect supports publishing an entire model, or part of the model, in a local Joomla! Repository as Articles (HTML

More information

Model-View-Controller (MVC)

Model-View-Controller (MVC) Model-View-Controller (MVC) with Ruby on Rails Software Languages Team University of Koblenz-Landau Ralf Lämmel and Andrei Varanovich MVC - a classic definition The Model is the application object The

More information

PHP & My SQL Duration-4-6 Months

PHP & My SQL Duration-4-6 Months PHP & My SQL Duration-4-6 Months Overview of the PHP & My SQL Introduction of different Web Technology Working with the web Client / Server Programs Server Communication Sessions Cookies Typed Languages

More information

WEB APPLICATION ENGINEERING II

WEB APPLICATION ENGINEERING II WEB APPLICATION ENGINEERING II Lecture #9 Umar Ibrahim Enesi Objectives Gain understanding of various constructs used in Object Oriented PHP. Understand the advantages of using OOP style over procedural

More information

Creating the Data Layer

Creating the Data Layer Creating the Data Layer When interacting with any system it is always useful if it remembers all the settings and changes between visits. For example, Facebook has the details of your login and any conversations

More information

Joomla, 40 Million Page Views, and You. Mitch Pirtle NYPHP, January 2009

Joomla, 40 Million Page Views, and You. Mitch Pirtle NYPHP, January 2009 Joomla, 40 Million Page Views, and You Mitch Pirtle NYPHP, January 2009 Summary Overview MTV brought Mitch Pirtle in to recommend a platform for a very high-traffic website - he chose an open source platform

More information

WHMCS SIDN Module. - Installation and Userguide. WHMCS SIDN Module Version 2.7

WHMCS SIDN Module. - Installation and Userguide. WHMCS SIDN Module Version 2.7 WHMCS SIDN Module - Installation and Userguide WHMCS SIDN Module Version 2.7 Table of contents 1. Introduction WHMCS SIDN Module... 3 1.1 Functions WHMCS SIDN Module... 3 1.2System requirements... 3 2.

More information

Operating systems fundamentals - B07

Operating systems fundamentals - B07 Operating systems fundamentals - B07 David Kendall Northumbria University David Kendall (Northumbria University) Operating systems fundamentals - B07 1 / 33 What is SQL? Structured Query Language Used

More information

appendix B: Working with Ruby on Rails

appendix B: Working with Ruby on Rails B1 appix B: Working with Ruby on Rails APPENDIX B B2 Since the beginning of the Web, both static and dynamic typed languages have been used for writing web applications. Java and its cousin C# have emerged

More information

THE INTERNET/INTRANET APPLICATION FOR CUTTING REGIME SETTING 1. INTRODUCTION

THE INTERNET/INTRANET APPLICATION FOR CUTTING REGIME SETTING 1. INTRODUCTION Journal of Machine Engineering, Vol. 10, No. 2, 2010 optimal cutting regime, MySql data base, internet Pavel KOVAČ 1 Marin GOSTIMIROVIĆ 1 Milenko SEKULIĆ 1 Nikola PIŽURICA 2 THE INTERNET/INTRANET APPLICATION

More information

Govt. of Karnataka, Department of Technical Education Diploma in Computer Science & Engineering. Fifth Semester. Subject: Web Programming

Govt. of Karnataka, Department of Technical Education Diploma in Computer Science & Engineering. Fifth Semester. Subject: Web Programming Govt. of Karnataka, Department of Technical Education Diploma in Computer Science & Engineering Fifth Semester Subject: Web Programming Contact Hrs / week: 4 Total hrs: 64 Table of Contents SN Content

More information

Unit 27 Web Server Scripting Extended Diploma in ICT

Unit 27 Web Server Scripting Extended Diploma in ICT Unit 27 Web Server Scripting Extended Diploma in ICT Dynamic Web pages Having created a few web pages with dynamic content (Browser information) we now need to create dynamic pages with information from

More information

Masters in Web Development

Masters in Web Development Masters in Web Development Accelerate your carrer by learning Web Development from Industry Experts. www.techgrad.in India s Leading Digital marketing Institute India s Leading Accademy 12,234+ Trainees

More information

Rails: Models. Computer Science and Engineering College of Engineering The Ohio State University. Lecture 25

Rails: Models. Computer Science and Engineering College of Engineering The Ohio State University. Lecture 25 Rails: Models Computer Science and Engineering College of Engineering The Ohio State University Lecture 25 Recall: Rails Architecture Recall: Rails Architecture Mapping Tables to Objects General strategy

More information

Today Learning outcomes LO2

Today Learning outcomes LO2 2015 2016 Phil Smith Today Learning outcomes LO2 On successful completion of this unit you will: 1. Be able to design and implement relational database systems. 2. Requirements. 3. User Interface. I am

More information

Identifiers and Variables

Identifiers and Variables Identifiers and Variables Lecture 4 Based on Slides of Dr. Norazah Yusof 1 Identifiers All the Java components classes, variables, and methods need names. In Java these names are called identifiers, and,

More information

ONLINE VOTING SYSTEM

ONLINE VOTING SYSTEM ONLINE VOTING SYSTEM M. Deepa 1,, M.B.Benjula Anbu Malar 2, S.Deepikaa 3, K.Santhi 4 1,2,3,4 School of Information Technology and Engineering, VIT University, Vellore, Tamilnadu, (India) ABSTRACT Online

More information

Introduction and first application. Luigi De Russis. Rails 101

Introduction and first application. Luigi De Russis. Rails 101 Introduction and first application Luigi De Russis 2 About Rails Ruby on Rails 3 Framework for making dynamic web applications created in 2003 Open Source (MIT License) for the Ruby programming language

More information

This lab will introduce you to MySQL. Begin by logging into the class web server via SSH Secure Shell Client

This lab will introduce you to MySQL. Begin by logging into the class web server via SSH Secure Shell Client Lab 2.0 - MySQL CISC3140, Fall 2011 DUE: Oct. 6th (Part 1 only) Part 1 1. Getting started This lab will introduce you to MySQL. Begin by logging into the class web server via SSH Secure Shell Client host

More information

Why Rails and Design for an Applica5on

Why Rails and Design for an Applica5on Why Rails and Design for an Applica5on CITS3403 Agile Web Development Reference: Ruby et al, Chapter 5 First there was Ruby... Ruby is the interpreted scripting language for quick and easy objectoriented

More information

CHORDS: Cloud-Hosted Real-time Data

CHORDS: Cloud-Hosted Real-time Data CHORDS: Cloud-Hosted Real-time Data Services for the Geosciences Mike Daniels (NCAR), Branko Kerkez (UMich), V. Chandrasekar (CSU), Sara Graves (UAH), D. Sarah Stamps (VT), Aaron Botnick (NCAR), Charlie

More information

Zend Framework's MVC Components

Zend Framework's MVC Components Zend Framework's MVC Components Matthew Weier O'Phinney PHP Developer Zend Technologies Zend Framework provides rich and flexible MVC components built using the objectoriented features of PHP 5. Copyright

More information

Laravel. Routing Filtering Model View Controller. Web Technologies II Artūrs Lavrenovs

Laravel. Routing Filtering Model View Controller. Web Technologies II Artūrs Lavrenovs Laravel Routing Filtering Model View Controller Web Technologies II Artūrs Lavrenovs Laravel Routing+MVC http://laravelbook.com/laravel-architecture/ Routing Study documentation http://laravel.com/docs/4.2/routing

More information

The connection has timed out

The connection has timed out 1 of 7 2/17/2018, 7:46 AM Mukesh Chapagain Blog PHP Magento jquery SQL Wordpress Joomla Programming & Tutorial HOME ABOUT CONTACT ADVERTISE ARCHIVES CATEGORIES MAGENTO Home» PHP PHP: CRUD (Add, Edit, Delete,

More information

SharePoint: My Sites & Class Collaboration for Elementary Teachers

SharePoint: My Sites & Class Collaboration for Elementary Teachers SharePoint: My Sites & Class Collaboration for Elementary Teachers Contents MySites:... 2 Navigation to your My Site:... 2 Edit Your Profile:... 2 Profile Options:... 3 Colleagues... 4 Viewing Colleagues

More information

HOMELESS INDIVIDUALS AND FAMILIES INFORMATION SYSTEM HIFIS 4.0 TECHNICAL ARCHITECTURE AND DEPLOYMENT REFERENCE

HOMELESS INDIVIDUALS AND FAMILIES INFORMATION SYSTEM HIFIS 4.0 TECHNICAL ARCHITECTURE AND DEPLOYMENT REFERENCE HOMELESS INDIVIDUALS AND FAMILIES INFORMATION SYSTEM HIFIS 4.0 TECHNICAL ARCHITECTURE AND DEPLOYMENT REFERENCE HIFIS Development Team May 16, 2014 Contents INTRODUCTION... 2 HIFIS 4 SYSTEM DESIGN... 3

More information

Object Relational Mapping. Kenneth M. Anderson University of Colorado, Boulder Lecture 29 CSCI 4448/ /06/11

Object Relational Mapping. Kenneth M. Anderson University of Colorado, Boulder Lecture 29 CSCI 4448/ /06/11 Object Relational Mapping Kenneth M. Anderson University of Colorado, Boulder Lecture 29 CSCI 4448/5448 12/06/11 1 Credit where Credit is Due The slides that cover Hibernate and JPA were developed by Aaron

More information

PHP and MySgi. John Wiley & Sons, Inc. 24-HOUR TRAINER. Andrea Tarr WILEY

PHP and MySgi. John Wiley & Sons, Inc. 24-HOUR TRAINER. Andrea Tarr WILEY PHP and MySgi 24-HOUR TRAINER Andrea Tarr WILEY John Wiley & Sons, Inc. INTRODUCTION xvii LESSON 1: SETTING UP YOUR WORKSPACE 3 Installing XAMPP 3 Installing XAMPP on a Windows PC 4 Installing XAMPP on

More information

Rails: Associations and Validation

Rails: Associations and Validation Rails: Associations and Validation Computer Science and Engineering College of Engineering The Ohio State University Lecture 28 Schemas, Migrations, Models migrations models database.yml db:migrate db:create

More information

The Good Stuff. John David Anderson January CakePHP v1.2 1

The Good Stuff. John David Anderson January CakePHP v1.2 1 CAKEPHP 1.2 The Good Stuff John David Anderson January 2007 CakePHP v1.2 1 Beginning With CakePHP 7 Preface 7 Audience 7 Introduction to CakePHP 7 What is CakePHP? Why Use it? 7 The History of CakePHP

More information

PHP: Code Reuse & Functions

PHP: Code Reuse & Functions Course: Internet Programming Universiteti i Prishtinës PHP: Code Reuse & Functions Prof. Assoc. Lule Ahmedi Code Reuse The main motto in software engineering: Reuse, reuse, reuse, Benefits: Reduced costs:

More information

Module 3 MySQL Database. Database Management System

Module 3 MySQL Database. Database Management System Module 3 MySQL Database Module 3 Contains 2 components Individual Assignment Group Assignment BOTH are due on Mon, Feb 19th Read the WIKI before attempting the lab Extensible Networking Platform 1 1 -

More information

NMIS8 Administration Training. January 2013 Keith Sinclair,

NMIS8 Administration Training. January 2013 Keith Sinclair, NMIS8 Administration Training January 2013 Keith Sinclair, keiths@opmantek.com NMIS Administration Training Topics SSH access to an NMIS server NMIS8 Architecture User Interface Recap NMIS8 Directory Structure

More information

Web Application Design. Husni Husni.trunojoyo.ac.id

Web Application Design. Husni Husni.trunojoyo.ac.id Web Application Design Husni Husni.trunojoyo.ac.id Based on Randy Connolly and Ricardo Hoar Fundamentals of Web Development, Pearson Education, 2015 Objectives 1 Real World Web 2 Software Design Principle

More information

Programming the World Wide Web by Robert W. Sebesta

Programming the World Wide Web by Robert W. Sebesta Programming the World Wide Web by Robert W. Sebesta Tired Of Rpg/400, Jcl And The Like? Heres A Ticket Out Programming the World Wide Web by Robert Sebesta provides students with a comprehensive introduction

More information

PHP for PL/SQL Developers. Lewis Cunningham JP Morgan Chase

PHP for PL/SQL Developers. Lewis Cunningham JP Morgan Chase PHP for PL/SQL Developers Lewis Cunningham JP Morgan Chase 1 What is PHP? PHP is a HTML pre-processor PHP allows you to generate HTML dynamically PHP is a scripting language usable on the web, the server

More information

A Tcl Web Framework. (Arnulf's Tcl Web Framework) ATWF

A Tcl Web Framework. (Arnulf's Tcl Web Framework) ATWF A Tcl Web Framework (Arnulf's Tcl Web Framework) ATWF Abstract ATWF a [Tcl] web framework is a work in progress, which started about 3 years ago with a brain storming wiki page [ToW Tcl on WebFreeWay].

More information

CS637 Midterm Review

CS637 Midterm Review CS637 Midterm Review Coverage: Duckett Chapter 1-2: Basics: Can skip pp. 53-56 Chapter 3: Lists: all important Chapter 4:Links: all important Chapter 5:Images: can skip old code Chapter 6: Tables: all

More information

Teaching Ruby on Rails Dr Bruce Scharlau Computing Science Department University of Aberdeen Aberdeen, AB24 3UE

Teaching Ruby on Rails Dr Bruce Scharlau Computing Science Department University of Aberdeen Aberdeen, AB24 3UE Teaching Ruby on Rails Dr Bruce Scharlau Computing Science Department University of Aberdeen Aberdeen, AB24 3UE scharlau@csd.abdn.ac.uk Abstract This paper considers the teaching of the object oriented

More information

Database Systems. S. Adams. Dilbert. Available: Hans-Petter Halvorsen

Database Systems. S. Adams. Dilbert. Available:  Hans-Petter Halvorsen Database Systems S. Adams. Dilbert. Available: http://dilbert.com Hans-Petter Halvorsen Old fashion Database (Data-storage) Systems Not too long ago, this was the only data-storage device most companies

More information

Hello everyone! Page 1. Your folder should look like this. To start with Run your XAMPP app and start your Apache and MySQL.

Hello everyone! Page 1. Your folder should look like this. To start with Run your XAMPP app and start your Apache and MySQL. Hello everyone! Welcome to our PHP + MySQL (Easy to learn) E.T.L. free online course Hope you have installed your XAMPP? And you have created your forms inside the studio file in the htdocs folder using

More information

Developing ASP.NET MVC 5 Web Applications. Course Outline

Developing ASP.NET MVC 5 Web Applications. Course Outline Developing ASP.NET MVC 5 Web Applications Course Outline Module 1: Exploring ASP.NET MVC 5 The goal of this module is to outline to the students the components of the Microsoft Web Technologies stack,

More information

OKC MySQL Users Group

OKC MySQL Users Group OKC MySQL Users Group OKC MySQL Discuss topics about MySQL and related open source RDBMS Discuss complementary topics (big data, NoSQL, etc) Help to grow the local ecosystem through meetups and events

More information

Build Meeting Room Management Website Using BaaS Framework : Usergrid

Build Meeting Room Management Website Using BaaS Framework : Usergrid Build Meeting Room Management Website Using BaaS Framework : Usergrid Alvin Junianto Lan 13514105 Informatics, School of Electrical Engineering and Informatics Bandung Institute of Technology Bandung,

More information

Database Application Architectures

Database Application Architectures Chapter 15 Database Application Architectures Database Systems(Part 2) p. 221/287 Database Applications Most users do not interact directly with a database system The DBMS is hidden behind application

More information

Building Rich Applications with Appcelerator

Building Rich Applications with Appcelerator Building Rich Applications with Appcelerator Matt Raible Colorado Software Summit 2008 http://www.linkedin.com/in/mraible Matt Raible Building Rich Applications with Appcelerator Slide 1 Introductions

More information

Developing ASP.Net MVC 4 Web Application

Developing ASP.Net MVC 4 Web Application Developing ASP.Net MVC 4 Web Application About this Course In this course, students will learn to develop advanced ASP.NET MVC applications using.net Framework 4.5 tools and technologies. The focus will

More information

What is SQL? Toolkit for this guide. Learning SQL Using phpmyadmin

What is SQL? Toolkit for this guide. Learning SQL Using phpmyadmin http://www.php-editors.com/articles/sql_phpmyadmin.php 1 of 8 Members Login User Name: Article: Learning SQL using phpmyadmin Password: Remember Me? register now! Main Menu PHP Tools PHP Help Request PHP

More information

A Web-Based Application for Automatic Evaluation of Programming Assignments

A Web-Based Application for Automatic Evaluation of Programming Assignments University of Nevada, Reno A Web-Based Application for Automatic Evaluation of Programming Assignments A thesis submitted in partial fulfillment of the requirements for the degree of Master of Science

More information

Zend Studio 3.0. Quick Start Guide

Zend Studio 3.0. Quick Start Guide Zend Studio 3.0 This walks you through the Zend Studio 3.0 major features, helping you to get a general knowledge on the most important capabilities of the application. A more complete Information Center

More information