cms & chrome extension development

20
WEB DESIGNING/DEVELOPMENT Sarang III yr , Dept of CSE

Upload: sarang-ananda-rao

Post on 30-Jun-2015

1.968 views

Category:

Education


0 download

DESCRIPTION

This presentation deals with the usage of Content Management Systems and fundamentals for development of extensions for Google Chrome.

TRANSCRIPT

Page 1: CMS & Chrome Extension Development

WEB DESIGNING/DEVELOPMENT

Sarang III yr ,

Dept of CSE

Page 2: CMS & Chrome Extension Development

AGENDA

• Use of CMS• Building chrome extension

Page 3: CMS & Chrome Extension Development

Why go in for a CMS ?

Current scenario – we need a website for promoting every product/business.

Building websites for organisations , product review websites using html is time consuming .

Users of a website are not exposed to coding .

Website are often integrated with the latest developments.

Page 4: CMS & Chrome Extension Development

CONTENT MANAGEMENT SYSTEM

Collaborative environment for designing a website (like IDE)

Targets large no. of people to contribute and share stored data .

Reduces the time involved in building a website

Version Control

Page 5: CMS & Chrome Extension Development

Introduction(contd)

Allows people without technical details to post in the website

For eg : one cannot expect an person posting a book review to know the coding of a website .

Allows easy SEO.

Page 6: CMS & Chrome Extension Development

Examples (opensource)

JOOMLA WORDPRESS DRUPAL WIKI

Page 7: CMS & Chrome Extension Development
Page 8: CMS & Chrome Extension Development

Advantages :-

Availability of a large no. of :- Themes Widgets Modules Extensions/plugins

Page 10: CMS & Chrome Extension Development

How do I install a CMS?

Download the setup file. Create db using phpmyadmin Change the config.php file Installation is done !

Page 11: CMS & Chrome Extension Development

DEMO

Joomla (ssnlakshya) Wiki cms http://ten.wikipedia.org/wiki/Chennai Wordpress (tedxssn)

Page 12: CMS & Chrome Extension Development

Developing Chrome Extension

Demo of Chrome Extensions (creating an RSS feed )

Page 13: CMS & Chrome Extension Development

MANIFEST FILE

Every chrome extension has a JSON-formatted manifest file .

Deals with important fields like the name and version no. , favicon .

(contd)

Page 14: CMS & Chrome Extension Development

Manifest (contd)

"bookmarks" = reqd if browser uses bookmarks

"chrome://favicon/" = <img src="chrome://favicon/http://www.google.com/">

location of favicon. "cookies" =Required if the extension

uses the chrome.cookies module. (contd)

Page 15: CMS & Chrome Extension Development

Manifest (contd)

"notifications" = desktop notification for the extension

"tabs" Required if the extension uses the chrome.tabs or chrome.windows module.

Page 16: CMS & Chrome Extension Development

HTML files

Dynamic feed control Create html/css file as per

requirements

Page 17: CMS & Chrome Extension Development

Packaging

Manifest.json Html files Image files (favicon) CSS Files Javascript files(if necessary) Create a zip file of the folder Package it as crx file

(contd)

Page 18: CMS & Chrome Extension Development

Packaging (contd)

 chrome://extensions Goto developer mode Pack extension Your extension & private key files are

created

(contd screenshot)

Page 19: CMS & Chrome Extension Development
Page 20: CMS & Chrome Extension Development

Testing & Publishing

Go to developer mode in Google Chrome “Load unpacked extensions” Publish your extensions to Google Chrome

extension Library . You need to have a google developer account

for publishing (developer fee of 5$)