Open Source Web Technologies
Upcoming SlideShare
Loading in...5
×
 

Open Source Web Technologies

on

  • 1,973 views

Presentation on Zend-Framework for php & Google Gears

Presentation on Zend-Framework for php & Google Gears

Statistics

Views

Total Views
1,973
Views on SlideShare
1,752
Embed Views
221

Actions

Likes
0
Downloads
9
Comments
0

6 Embeds 221

http://srishtisethi.blogspot.com 112
http://srishtisethi.blogspot.in 100
http://srishtisethi.blogspot.nl 3
http://srishtisethi.blogspot.ca 2
http://srishtisethi.blogspot.sg 2
http://srishtisethi.blogspot.ae 2

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Open Source Web Technologies Open Source Web Technologies Presentation Transcript

  • `Q 1Q Starting the learning curve with Open Source Web Technologies Zend-Framework GoogleGears
  • Zend FrameWork
    • Zend Framework is an open source object oriented web application framework impelmented in PHP5.
    • This frameworks seeks to promote web developement best practices among the php community
    • Zend provides Zend engine for PHP for free
  • Key Features
    • Simplicity
      • Maintainability & extensibility-->reusing components .
      • Fully Documented .
      • Simple & rapid development .
      • .Follows MVC pattern .
    • Showcase Current Trends
      • Web Services
      • Ajax
      • Search
        • Zend components Classification
  • Zend Framework Installation
        • Switch to user
    • Sudo apt-get install zend-framework
    • Add to include_path in php.ini file
      • php_value include_path '.:/usr/share/php/libzend-framework-php'
      • cd /var/www/
      • Test on command line
      • Zf create project Places
  • What is MVC?
    • Model : The ”stuff” you are using in the application data, web services, feeds etc.
    • View: The display returned to the user
    • Controller : Manages the request & determines what
    • happens
  • User Enters in the form Controller directs to db Db searches out Finds the reqd. And sends back the data MVC module in real time User to The view Controller Model database View to the user
  • MVC Flow
  • Zend-framework Anatomy
    • Top level Directories
    • Application
    • Library
    • Public
    • tests
  • Zend bootstrap File
  •  
  • From Online to Offline
    • Browser – plugin
    • Cost
      • Open Source
      • Lightweight installation necessary
      • Application stays completely in the browser, no extra app/start up
    • Offline are also Necessary
      • Internet unavailable?
      • Don’t want the data in the clouds?
      • Response time?
    • Fill the gaps between online and offline
  • Offline Architecture Text
  • Offline Tools
    • In the past
      • Dojo Storage, Derby/JavaDB, Zimbra
    • Today
      • Adobe AIR
      • Google Gears
      • Microsoft Silverlight
    • Coming Soon
      • FireFox 3
      • HTML5 Working Draft
      • Client-side database storage
  • Detecting & Installing Gears
      • <script src=&quot;gears_init.js&quot;></script>
      • <script>
      • if (!window.google || !google.gears) {
      • location.href = &quot;http://gears.google.com/?action=install&message=<your welcome message>&quot; +
      • &quot;&return=<your website url>&quot;;
      • }
      • </script>
  • Components Local Sever Let web applications interact naturally with your desktop Database Store data locally in a fully-searchable database WorkerPool Run JavaScript in the background to improve performance
  • LocalServer
    • Specialized URL Cache
      • Requests for URLs in the LocalServer’s cache are intercepted and served locally from the user’s disk
    • RecourseStore (Manual Update)
    • ManagedResourceStore
    • (Automatic Update)
    • Manifest File
  • DataBase
    • Open source SQLite Database
    • Simplified SQL Syntax
    • Full-text Search
  • Workerpool
    • Time-intensive processes can be run in the background
    • UI stays responsive/browser doesn’t block
    • No warning dialog “Unresponsive Script”
  • Example
  • Example
  • Applications Gmail Calendar Maps SpreadSheet Reader Google Gears Docs
  • Conclusions
    • It opens a lot of doors to developers looking to bridge the narrowing gap between desktop and web-based applications.
    • Google Gears is an open source plugin that aims to push the Web forward
    • • The components are simple to use
    • • You need to think about your architecture
    • http://code.google.com/apis/gears/
    • http://gears.google.com/
    • Thanks for your time : )
  • Thank You !