 Pages within our Framework  Categories within Framework  Products within Framework  Model-View-Controller description of Page, category and products.

Slides:



Advertisements
Similar presentations
RP Designs Semi-Custom e-Commerce Package. Overview RP Designs semi- custom e-commerce package is a complete website solution. Visitors can browse a catalog.
Advertisements

Cookies, Sessions. Server Side Includes You can insert the content of one file into another file before the server executes it, with the require() function.
1.  Understanding about How to Working with Server Side Scripting using PHP Framework (CodeIgniter) 2.
Project Implementation for COSC 5050 Distributed Database Applications Lab4.
Chapter 6 UNDERSTANDING AND DESIGNING QUERIES AND REPORTS.
Turners SharePoint Web Site How we did it. 2 Page Anatomy Custom Search Web Part Custom Search Web Part Data Form Web Parts Content Query Web Part HTML.
Resource Discovery Module DigiTool Version 3.0. Resource Discovery 2 Deposit Approval Search & Index Dispatcher & Viewers Single & Bulk Web Services DigiTool.
ASP.NET Programming with C# and SQL Server First Edition
Project Implementation for COSC 5050 Distributed Database Applications Lab6.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Title Slide without Picture Subtitle Presenter’s Name Presenter’s Title Organization,
Direct Congress Dan Skorupski Dan Vingo. Inner workings Reminder: MVC design pattern Procedural view: From request to response o Request passed to a view.
Today’s Agenda Bill Presentment Overview Demo. Tailoring Your Invoices with Oracle’s Bill Presentment Architecture March 7, 2005.
STOCKDOC Advanced Stock Management System
Form Handling, Validation and Functions. Form Handling Forms are a graphical user interfaces (GUIs) that enables the interaction between users and servers.
Web-Applications: TurboGears II BCHB Lecture 26 12/03/2014BCHB Edwards.
Website Tutorial. Administration  Log on by clicking Login on the footer of almost any page  Your Username is.
Dataface API Essentials Steve Hannah Web Lite Solutions Corp.
Design of GuitarWorld.com
TO ENABLE THE CROSS-BORDER EXCHANGE OF CULTURE BY PROVIDING AN INNOVATIVE, MULTILINGUAL IT PLATFORM, BASED ON AVAILABLE OPEN SOURCE SOCIAL PLATFORM SOLUTIONS.
ITM © Port, Kazman1 ITM 352 HTML Forms, Basic Form Processing.
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 4 Web technologies: HTTP, CGI, PHP,Java applets)
Lecture 6 – Form processing (Part 1) SFDV3011 – Advanced Web Development 1.
Classroom User Training June 29, 2005 Presented by:
Server-side Scripting Powering the webs favourite services.
About Dynamic Sites (Front End / Back End Implementations) by Janssen & Associates Affordable Website Solutions for Individuals and Small Businesses.
Copyright ®xSpring Pte Ltd, All rights reserved Versions DateVersionDescriptionAuthor May First version. Modified from Enterprise edition.NBL.
Online Music Store MSE Project Presentation I Presented by: Reshma Sawant Major Professor: Dr. Daniel Andresen.
Web Based Inventory Site Building Room Asset Number Category Type Description Serial Number Manufacturer Model Vendor Name Acquired Date P O Number Budget.
PHP and MySQL for Client-Server Database Interaction Chapter 10.
WaveMaker Visual AJAX Studio 4.0 Training Authentication.
Creating a Web Site to Gather Data and Conduct Research.
Requirements Information and data which need to be displayed or accessible to the user Sitemapping (Site Map) Flow Chart models of site structure displaying.
Copyright © 2007, Oracle. All rights reserved. Managing Concurrent Requests.
SHOPPING CARTS CHAPTER 19. E-COMMERCE Typically, an e-commerce site will have public pages and admin pages.
PHP meets MySQL.
Office of Educational Technology School District of Philadelphia Introduction to Sites Google Sites This presentation is available at
COMP3121 E-Commerce Technologies Richard Henson University of Worcester November 2011.
Replacement Parts Pros How to…Order Products Home Page: Displays the different categories of product Drop down menu lists the.
DEMO - 8/14/2007. R2 Feature List ReceiveDocumentBatch Web Service SendPESCAcknowledgment Web Service Validate Acknowledgment Upload Acknowledgment Transcript.
Lecture 6 Title: Web Planning, Designing, Developing for E-Marketing By: Mr Hashem Alaidaros MKT 445.
1 Database Design and Development: A Visual Approach © 2006 Prentice Hall Chapter 8 DATABASE DESIGN AND DEVELOPMENT: A VISUAL APPROACH Chapter 8 Creating.
COOKIES and SESSIONS. COOKIES A cookie is often used to identify a user. A cookie is a small file that the server embeds on the user's computer. Each.
Chapter 4: Working with ASP.NET Server Controls OUTLINE  What ASP.NET Server Controls are  How the ASP.NET run time processes the server controls on.
Introduction to Views Stanford Drupal Camp April 6, 2013.
 Registry itself is easy and straightforward in implementation  The objects of registry are actually complicated to store and manage  Objects of Registry.
 Enhancing User Experience  Why it is important?  Discussing user experience one-by-one.
CSCI 6962: Server-side Design and Programming JSF DataTables and Shopping Carts.
Creating a simple database This shows you how to set up a database using PHPMyAdmin (installed with WAMP)
 Product Recommendations  Managing Product Recommendations  Types of Product Recommendations  Product Out of Stock  Out of Stock Management  Let.
 Empowers to your customer  Product Rating and its Management in Ecommerce Framework  Product Reviews and Management: Collecting customer opinion about.
 Product Variations and User Uploads  Product and Categories are not enough  Needs to extend product information  User can customize product information.
 Shopping Basket  Stages to maintain shopping basket in framework  Viewing Shopping Basket.
8 Chapter Eight Server-side Scripts. 8 Chapter Objectives Create dynamic Web pages that retrieve and display database data using Active Server Pages Process.
Web-Applications: TurboGears II BCHB Lecture 26 12/7/2015BCHB Edwards.
Web-Applications: TurboGears BCHB Lecture 25 12/02/2015BCHB Edwards.
 What information of product be there for customer and administrator  For customer  Name of the product  Detail description of product  Price of.
ASP-2-1 SERVER AND CLIENT SIDE SCRITPING Colorado Technical University IT420 Tim Peterson.
Class 3Intro to Databases Class 4 Simple Example of a Database We’re going to build a simple example of a database, which will allow us to register users.
CSC 2720 Building Web Applications Basic Frameworks for Building Dynamic Web Sites / Web Applications.
 An essential supporting structure of any thing  A Software Framework  Has layered structure ▪ What kind of functions and how they interrelate  Has.
ASSIGNMENT 2 Salim Malakouti. Ticketing Website  User submits tickets  Admins answer tickets or take appropriate actions.
February 26, 2008 Andy Chang · Osei Simba Hinds · Rachal Royce.
Unit-6 Handling Sessions and Cookies. Concept of Session Session values are store in server side not in user’s machine. A session is available as long.
Copyright © 2007, Oracle. All rights reserved. Managing Items and Item Catalogs.
Top-performing urban school district in Florida Introduction to TIDE 1.
1. Using word you can create the document and edit them later, as and when required,by adding more text, modifying the existing text, deleting/moving.
Maintaining and Updating Windows Server 2008 Lesson 8.
A Presentation Presentation On JSP On JSP & Online Shopping Cart Online Shopping Cart.
The Web Web Design. 3.2 The Web Focus on Reading Main Ideas A URL is an address that identifies a specific Web page. Web browsers have varying capabilities.
(Includes setup) FAQ ON DOCUMENTS (Includes setup)
Presentation transcript:

 Pages within our Framework  Categories within Framework  Products within Framework  Model-View-Controller description of Page, category and products  Routing Requests

FieldsFields TypeDescription IdInt (Primary Key, Auto Increment) A reference to framework for content entity Current_ revision IntRefer to current version of content type ActiveBooleanActive or inactive to show user SecureBooleanSecure or insecure to show either logged in user or not ParentIntA reference to its parent content type OrderIntA reference to the order of the content type to build sitemap or menus AuthorIntWho created the first version of content type TypeIntA reference to type of content this entity is PathVarcharSearch engine friendly path for the content CreatedTiemstampWhen the entity is created

 To enable pages in framework we need:  A model-Connection to database and represent data on page  A controller- will look up the current page  A template (view)- display data on page to user  With all above, we need some extra information  Menu and Sub menu options  Breadcrumb generation

 Model  Ability to connect to database  Search for a page given by page name/path  Represent data on the page  If no page found, generate “Page not found” error  Can be achieved using a constructor  Pass page path as parameter  Set values to properties if page found  Set particular value if page not found

 We need following methods for page model  isValid(): used by controller to lookup if the page is valid or not?  isActive(): used by controller to lookup if the page is active or not?  isSecure(): used by controller to check if the page is secure or not? And accessible to user or not?  getProperties(): return the properties of the page to integrated with view

 Page view should have following template pages  Header- to have common header on most of the pages  Footer- to have common footer on most of the pages  Page- to display the page to user  We my have additional pages in template  404 Error: indicates page not found  Login: logged in by user to access secure pages  Page Disable: show page is inactive

Header Template It may also contain CSS, JavaScript, Icon etc information

 Footer Template  It may contain copyright info, about us, terms and conditions etc.  Page Template  In case of “Page not found” template

 We may have other templates in framework  Page Disable template  Login Form template  Signup Form template  Shipping Address template  Change password template  Shopping Cart template  And sooooooooooooooo on Can be limited with limited requirements

 Controller of pages needs to perform the following task  Clean the path requested  Pass path to page model  If the page is valid, convert page properties to tags to use in template, output the page view  If the page is invalid, display 404 page  If the page is valid and secure, display the page if user is logged in, else direct user to login page

 We breakdown functionality into 3 areas  Model- manage product data by update, save, clone  Controller- interpret users requests, interface with model, interact with view to display data  Template- to display list of products to end user

 Product model needs the following functionality:  Lookup a product based on a product path  Determine if a product exists or not, based on said path  Store product data  Return product data as an array  Return a Boolean value indicating if a product is valid or not

Product View

 Product Controller needs the following functionality  Needs to communicate with controller  Clean the path requested  Pass product URL path to controller  If a valid product URL, display it using view  If not a valid URL, display “product not found” page

 Our categories functionality of framework will be same as products model and controller with some minor difference  Not as many tables are required to get the category detail, content_version table is enough  Categories need to list products contained within them  We have to deal with child-parent categories structure

 Categories Model  Is complex than other product and pages model because it deals with categories and sub categories  In First stage ▪ Use subqueries, that will count no. of subcategories ▪ Queries are then cached and its references are passed to template or view to display products  In 2 nd Stage ▪ Adding some additional functions in controller about cached queries, if there are any subcategory

 Categories View  We need 3 types of templates to display categories to end user  Category template  Subcategory template  Products Template within category

 Categories View  Category template

 Categories View  Subcategory template

 Categories View  Products template

 Categories Controller  Communicate with Model to get categories  If no category found, show “No Category Found” page  List categories and sub categories using view  If no subcategory found, show “No Subcategory Found” page  List products within categories using views, if any, else show “No Product in Category”

 In our framework, so far, the models, controllers and views of products, categories, pages have same format  Thy can be improved using inheritance in PHP  Common classes can be defined with common functionalities  Product view includes one photo of product  Product view can be changed to mange more photos of products

 First path of the URL should include the area of site that user is trying to access  etc  We need to maintain a list of active controllers  If sitearea match with any active controller  Include controller file, create controller object, pass control to framework controller  Else shows 4o4 page error or “Page not found”

 We need a controller table to save list of active controllers