Overview of Framework by Ahamed Rifaudeen A. page - i Steps before entering into the Framework?  Basic knowledge of object-oriented programming (OOP)

Slides:



Advertisements
Similar presentations
Introduction to MVC Adding a View Page NTPCUG Tom Perkins, Ph.D.
Advertisements

Software Freedom Day th September 2007 Asia Pacific Institute of Information Technology Colombo, Sri Lanka. Nazly Ahmed Scripting The Web.
Razor. Slide 2 Remember this? Browser Web Server HTTP Request HTTP Response (Web page / code) Client code (script) Interpret request Generate HTML and.
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.
Creating WordPress Websites. Creating a site on your computer Local server Local WordPress installation Setting Up Dreamweaver.
 John C. Zablocki Development Manager, HealthcareSource Organizer, Beantown ALT.NET Code Camp NYC
5 Days Open Source Workshop Zencart – Wordpress – Joomla Welcome Day 3.
Get closer to the most advanced CMS Mihail Semedzhiev Joomla!
Presented by Mina Haratiannezhadi 1.  publishing, editing and modifying content  maintenance  central interface  manage workflows 2.
1 CS428 Web Engineering Lecture 18 Introduction (PHP - I)
DR. MOHAMMAD IQBAL THANKS TO ADITYA SENGUPTA Comparing Web Frameworks.
WHAT IS PHP PHP is an HTML-embedded scripting language primarily used for dynamic Web applications.
Justin Klein Keane Drupal Training Session 1 Introduction to Drupal.
UNIT-V The MVC architecture and Struts Framework.
Ruby on Rails. What is Ruby on Rails? Ruby on Rails is an open source full-stack web framework. It is an alternative to PHP/MySQL. It can render templates,
Model-View-Controller Architecture in a Systems Analysis and Design Course Dr. Robert F. Zant Illinois State University.
Windows.Net Programming Series Preview. Course Schedule CourseDate Microsoft.Net Fundamentals 01/13/2014 Microsoft Windows/Web Fundamentals 01/20/2014.
K.SWETHA. CSE-IV-A 08Q61A  INTRODUCTION  HISTORY  WORKING PROCESS  TECHNOLOGIES  ADVANTAGES AND DISADVANTAGES  CONCLUSION.
8 Chapter Eight Server-side Scripts. 8 Chapter Objectives Create dynamic Web pages that retrieve and display database data using Active Server Pages Process.
M. Taimoor Khan * Java Server Pages (JSP) is a server-side programming technology that enables the creation of dynamic,
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
Overview of Previous Lesson(s) Over View  ASP.NET Pages  Modular in nature and divided into the core sections  Page directives  Code Section  Page.
W EB A PPLICATIONS & W EB S ERVICES DEVELOPMENT USING Z END F RAMEWORK Sayed Ahmed B. Sc. Engineering in Computer Science and Engineering M. Sc. in Computer.
XP New Perspectives on Browser and Basics Tutorial 1 1 Browser and Basics Tutorial 1.
BZUPAGES.COM Presentation on Content Management System (CMS) Presented to. Sir Ahmad Kareem.
Codeigniter is an open source web application. It occupies a very small amount of space in the memory and is most useful for developers who aim to develop.
ASP.NET Web Application and Development Digital Media Department Unit Credit Value : 4 Essential Learning time : 120 hours Digital.
COLD FUSION Deepak Sethi. What is it…. Cold fusion is a complete web application server mainly used for developing e-business applications. It allows.
Lecture 19 Web Application Frameworks Boriana Koleva Room: C54
1 Dr Alexiei Dingli Web Science Stream Introducing Rails.
JavaScript – Quiz #9 Lecture Code:
Open Source Server Side Scripting ECA 236 Open Source Server Side Scripting Installation and Testing.
Mr. Justin “JET” Turner CSCI 3000 – Fall 2015 CRN Section A – TR 9:30-10:45 CRN – Section B – TR 5:30-6:45.
10 Reasons to Choose the Yii Framework. The development of Yii framework began on January 1, 2008.Yii framework It is an open source application that.
WEP Presentation for non-IT Steps and roles in software development 2. Skills developed in 1 st year 3. What can do a student in 1 st internship.
Rails & Ajax Module 5. Introduction to Rails Overview of Rails Rails is Ruby based “A development framework for Web-based applications” Rails uses the.
Model View Controller MVC Web Software Architecture.
ASP. What is ASP? ASP stands for Active Server Pages ASP is a Microsoft Technology ASP is a program that runs inside IIS IIS stands for Internet Information.
David Lawrence 7/8/091Intro. to PHP -- David Lawrence.
Nested componentization for advanced Web portal solutions Svebor Prstačić, dipl. ing., Dr. sc. Ivan Voras, Dr. sc. Mario Žagar.
Greenstone Internals How to Build a Digital Library Ian H. Witten and David Bainbridge.
CS562 Advanced Java and Internet Application Introduction to the Computer Warehouse Web Application. Java Server Pages (JSP) Technology. By Team Alpha.
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 JSP Application Models.
MVC WITH CODEIGNITER Presented By Bhanu Priya.
Date : 3/04/2010 Web Technology Solutions Class: PHP Web Application Frameworks.
The basics of knowing the difference CLIENT VS. SERVER.
CSC 2720 Building Web Applications Basic Frameworks for Building Dynamic Web Sites / Web Applications.
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  “M” “V” “C” stands for “MODEL” “VIEW” “CONTROLLER”. ASP.NET MVC is an architecture to develop ASP.NET web applications in a different manner.
: Information Retrieval อาจารย์ ธีภากรณ์ นฤมาณนลิณี
Module 4 Creating EMC Files, Uploading EMC Files and Downloading Reports PC-ACE Pro32.
CGS 3066: Web Programming and Design Spring 2016 Introduction to Server-Side Programming.
START Application Spencer Johnson Jonathan Barella Cohner Marker.
Basics Components of Web Design & Development Basics, Components, Design and Development.
Top 50 Interview Questions & Answers in CakePHP. 2 Question : 1 What is CakePHP?  CakePHP is a free, open-source, rapid development framework for PHP.
1.Switch on the computer and wait for loading. 2.Select the Windows 7 OS at the end of the list. 3.Click on the link ‘Administrator’ 4.Enter the administrator.
Web Technology Solutions
Web Application Development with Laravel and Bootstrap
MVC Architecture, Symfony Framework for PHP Web Apps
Content Management System
PHP Training at GoLogica in Bangalore
Build Better Apps with MEAN.
Yii - For the Future - Gen Web Development Platform
MVC Framework, in general.
PHP + Oracle = Data-Driven Websites
Title: Tech Training Certificate: Ace of Initiative Program
PHP and Forms.
Developing a Model-View-Controller Component for Joomla
ASP.NET MVC Web Development
Web Application Development Using PHP
Presentation transcript:

Overview of Framework by Ahamed Rifaudeen A

page - i Steps before entering into the Framework?  Basic knowledge of object-oriented programming (OOP) in php5  Database programming (Mysql, Sqlite3)  These are things that makes you the better understanding the frameworks easily. Required Knowledge?

page - ii Cms Vs Framework  Cms (Content-Management-System) is a type of Framework,  But generally limited towards making website with article/page type content with an out of the box article management system.  Mostly of the cms are focused on article management system. Cms  A Framework provides often used web development boilerplate code.  They can... MVC paradigm URL parsing and handling Templating Better request handling Framework

page - 1 What is Framework?  A set of reusable libraries or classes for a software is generally called as Frameworks  Model-View-Controller (MVC)  Push-based vs. pull-based  Three-tier organization Definition: Types of Framework:

page - 2 Model-View-Controller (MVC)  Consist of any business logics  Ex: database connection, user authentication, and etc.., Model: View:  Consist of site layouts, and designs  Ex: html files  Controls the model and view  Decides Which model needed and which content is to be shown Controller:

page - 3 Yii Framework Yii is a high-performance light weight framework Yii Stand for – Yes It Is Yii Framework is a Open Source Framework Yii Framework implements MVC Architecture Version is the current stable version Yii introduces a front controller called Application Application collects information about a user request and dispatch it to an appropriate controller

page - 4 Installing and Configuring Yii  Extract Downloaded Zip file into your server root  Ex: C:\wamp\www\ Installing Yii Framework Configuring Yii Framework  Set environment variables  Append php path (C:\wamp\bin\php\php5.2.6) with path in the Environment Variables

page - 5 Creating a new application  Change directory to your framework root With Command Prompt

page - 6 Contd..  Type yiic

page - 7 Contd..  Ex: yiic webapp C:\wamp\www\demoProject Syntax: yiic webapp path/to/demoProject Testing our demoProject  Locate the browser wih  Our project available with four menu

page - 8 Structure of Yii Application  Index.php the bootstrap file  Application the front controller  App components used by our application  Controller controlling model and views  Model contains business logics, database and other inputs collected through forms  View contains user interface  Widget probably embeded in view files mainly for presentational purpose

page - 9 Application workflow 1.User requests w&id=1 w&id=1 2.Application object created. 3.Application gets information about request. 4.Application determines the requested controller and action. 5.Application creates an object of requested controller. 6.Action reads a post model whose ID is 1 7.Action renders a view 8.View reads and display data from post model 9.View execute some widgets 10.View embeds the result in a layout 11.Action completes the rendering and display result to the user

page - 10 Yii Framework Folder Structure FolderDescription/Contains Assets/Published resources Css/Css files Images/Image files Protected/Application Files Themes/Application themes Our Project folder contains 5 folders

page - 11 Protected/ Protected folder is a base folder contains 12 sub folders FolderDescription/contains Commands/Customized yiic commands Components/Reusable user components Config/Configuration files Controllers/Controller files Data/Database oriented files Extensions/3 rd party extensions Messages/Translated messages Migrations/ Models/Model files (our business logics)

page - 12 Contd.. FolderDescription/Contains Runtime/Temporarily generated files Tests/Test scripts Views/View and layout files

page - 13 Important Folders of Yii Framework  Config  Controllers  Models  Views Inside Protected folder

page - 14 Config/  main.php is the application configuration file  Contains application level configurations such as application path, name, database configuration and etc.., Contains Application Configuration file

page - 15 Controllers/  File name must be same as class name  All Controllers must starts with Capital letter and end with Controller  All controller classes must extends Controller class located at protected/ components/Controller.php )  Example: For site controller File name: SiteController.php Class name: SiteController D Contains our controllers

page - 16 Models/  ContactForm used by SiteController to manage contact form data.  LoginForm used by SiteController to manage login action.  And other Models Files(database).  All Business logics are resides here. Contains ContactForm, LoginForm and our database models etc..,

page - 17 Views/  Each Controller has its view files.  Controller name is Same as the folder name except the word Controller.  Layout files are reside inside layout folder. Contains View files for each controllers and layout of the website

page - 1 Eof Overview Thank You...