Outline Working together Working with Nodes Working with Blocks Working with Taxonomy The Form API jQuery Summary.

Slides:



Advertisements
Similar presentations
A brief overview of Drupal 7 By Robin Isard, Systems Librarian Algoma University.
Advertisements

Connecting to Databases. relational databases tables and relations accessed using SQL database -specific functionality –transaction processing commit.
A Blackboard Building Block™ Crash Course for Web Developers
Seattle Drupal Clinic Introduction to Drupal and Web Content Management.
Creating a Form on a Web Page
Our aims ease the pain – for all our users get with the times better communication with our supporters recruit and engage people to our campaigns raise.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 14 Web Database Programming Using PHP.
Robustness Analysis Dr. Neal CIS 480. Outline What is robustness analysis? Key roles in robustness analysis Object types found in discovery Diagramming.
Facebook Visualization Update Lourdes Chang. Goals Get familiar with Facebook API Connect *any* user to Facebook Gather friend’s list Gather friend’s.
High Performance Faceted Interfaces Using S2S Eric Rozell, Tetherless World Constellation.
V v Business Process AMTV Streaming TV Streaming.
1 Using jQuery JavaScript & jQuery the missing manual (Second Edition)
The Dr ü G Book: An Intro to Drupal The Dr ü G Book: An Intro to Drupal (Dr ü G: Drupal User ’ s Group - users, not developers) This is an introduction.
Drupal Workshop Introduction to Drupal Part 1: Web Content Management, Advantages/Disadvantages of Drupal, Drupal terminology, Drupal technology, directories.
Topics Content administration Basic installation and configuration Theme and module installation The Nice-to-Have Modules that expand functionality for.
Lecture 3 – Data Storage with XML+AJAX and MySQL+socket.io
Ricerca Distribuita Semantica Protocolli opensource per la condivisione di risorse online.
1/30/11 Hacking your way through the Drupal API, a themers intro Baris Wanschers (BarisW)
SCHOOL OF INFORMATION UNIVERSITY OF MICHIGAN si.umich.edu Drupal: Configuration and Customization Week 4: Installation, Module Development January 25,
1 Insert, Update and Delete Queries. 2 Return to you Address Book database. Insert a record.
Drupal Training Syllabus Chaitanya Lakshmi
MU Bulletin Board Member: Carol Lim Yi Wang Lei Wen Mentor: John Boyer Programmer/Analyst of MSA/ Student Life.
Day 17. » Client side and Server side » Since PHP is Server side and can output anything we want, we can output to JS. » With JS libraries, we can create.
Design for Senior Project December 05, 2007 Raytheon_Design_Review.ppt 1 of 19 Raytheon – Google Earth Roy Daniels, Marc Maciel, Rifina Pierre Department.
Review IDIA 619 Spring 2013 Bridget M. Blodgett. HTML A basic HTML document looks like this: Sample page Sample page This is a simple sample. HTML user.
_______________________________________________________________________________________________________________ PHP Bible, 2 nd Edition1  Wiley and the.
INTRODUCTION TO JAVASCRIPT AND DOM Internet Engineering Spring 2012.
HTML Concepts and Techniques Fourth Edition Project 7 Creating a Form on a Web Page.
CAKEPHP Blog tutorial. what you’ll need examples/blog/blog.html 2  A running web server  A database server.
CSE Waitlist Made By: Peng Hu, Zhicheng Lin, Mark Mosby, Robert Pittman, and Derek Robati.
1 IT420: Database Management and Organization Database Security 5 April 2006 Adina Crăiniceanu
Proposal for the new group web infrastructure SFT Group meeting 3/7/2009 Yves Perrin.
Seattle Drupal Clinic Introduction to Drupal Part 1: Web Content Management, Advantages/Disadvantages of Drupal, Drupal terminology.
Introduction to Module Development John Fiala and Ezra Barnett Gildesgame.
Entities in Drupal 7 & the Entity API #sfdug March 11, 2013 JD Leonard ModernBizConsulting.com.
Just a Little PHP Programming PHP on the Server. Common Programming Language Features Comments Data Types Variable Declarations Expressions Flow of Control.
CCRS Comprehensive Conference Registration System Preliminary Design December 7 th,
XRX Basic CRUDS Create, Read, Update and Delete and Search XML Data Date: May 2011 Dan McCreary President Dan McCreary & Associates
How does Drupal Work? Information Systems 337 Prof. Harry Plantinga.
Drupal for client Maria Sherskova skype: sherskova.
 Registry itself is easy and straightforward in implementation  The objects of registry are actually complicated to store and manage  Objects of Registry.
Table of Contents TopicSlide Administrator Login 2 Administrator Navigations 3 Managing AlternativeDr.com Blogs 4 Managing Dr. Lloyd May Blogs 5 Managing.
Quicksoft Project Team 6 Team members: Brian H Johnson Brannen J Sorem Kenneth Ng, Project Manager Michael Puzon, QA Catherine Gamboa, UI lead.
Parent / Child Data Modeling 1. 2 Dennis Solis Solis Media Group Solis Media Group Over 20 years of application software development. Over 20 years of.
Drupal Recipe: Before and After Gallery Lisa Forgan and Chris Neglia, using notes from Drupal Camp Colorado Copyright 2009, Page 1 Solutions LLC.
Just a Little PHP Programming PHP on the Server. Common Programming Language Features Comments Data Types Variable Declarations Expressions Flow of Control.
Web Programming Java Script & jQuery Web Programming.
System Modules Overview
Mr. Justin “JET” Turner CSCI 3000 – Fall 2015 CRN Section A – TR 9:30-10:45 CRN – Section B – TR 5:30-6:45.
RSS Interfaces and Standards Chander Iyer. Really Simple Syndication (RSS) Web data format providing users with frequently updated content. Make a collection.
Index Tree Manual National Institute of Informatics
ASSIGNMENT POINTS DUE DATE: Monday NOV 30 JAVASCRIPT, INPUT VALIDATION, REGEX See 2 nd slide for Form See 3 rd next slide for the required features.
Understanding JavaScript and Coding Essentials Lesson 8.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 14 Web Database Programming Using PHP.
1 Using jQuery JavaScript & jQuery the missing manual (Second Edition)
Uplode Simple file storage CWEB Final Project
DFD For Seed Management System
HW#4 Making Simple BBS Using JDBC
PHP Training at GoLogica in Bangalore
MAJOR PROJECT PPT ON B-TOGETHER A Social Networking Site.
Powerpoint Template Insert Document Summary here Sweetpapo
Web Programming Language
COMP 208/214/215/216 – Lecture 7 Documenting Design.
Data Flow Diagram For Seed Management System
Javascript and JQuery SRM DSC.
Project OSCAR Main Page
Project OSCAR Main Page
Murach's JavaScript and jQuery (3rd Ed.)
Module 1.4 Roles and User Management
Presentation transcript:

Outline Working together Working with Nodes Working with Blocks Working with Taxonomy The Form API jQuery Summary

Working together q=user/131 $op = view

Working together q=user/131/ edit $op = view

Working together function user_view($uid = 0) { … foreach (module_list() as $module) { if ($data = module_invoke($module, 'user', 'view', '', $account)) { foreach ($data as $category => $items){ foreach ($items as $key => $item){ $item['class'] = "$module-". $item['class']; $fields[$category][$key] = $item; } … }

Working together Function XXXXX_user($op, &$edit, &$user, $category=NULL) { …. }

Working together function profile_user($op, &$edit, &$user, $category = NULL) { switch ($op) { … case 'view': return profile_view_profile($user); … }

Working together $op After_update Delete Form Insert Login Logout Load Register Submit Update Validate View

Working together function tracker_menu($may_cache) { …… else { if (arg(0) == 'user' && is_numeric(arg(1))) { $items[] = array('path' => 'user/'. arg(1).'/track', …); } …… }

Outline Working together Working with Nodes Working with Blocks Working with Taxonomy The Form API jQuery Summary

Working with Nodes

Not Everything is a Node Users Blocks Comments

Working with Nodes MyNode MyNode_install (.install) MyNode_node_info (.module) MyNode_menu(url mapping) MyNode_perm (permission) MyNode_access (access control) MyNode_form (input form) MyNode_validate MyNode_insert (insert to DB) MyNode_update (update to DB) MyNode_delete (delete from DB) MyNode_load MyNode_view

Working with Nodes Node Object NodeChange logMyNodeCommentsTaxonomy

Outline Working together Working with Nodes Working with Blocks Working with Taxonomy The Form API jQuery Summary

Working with Blocks 左欄左欄 頁首 內容 頁尾

Working with Blocks

Outline Working together Working with Nodes Working with Blocks Working with Taxonomy The Form API jQuery Summary

Working with Taxonomy Taxonomy is classification of things Terms ~ tags. Assigning terms ~ tagging Synonyms

Working with Taxonomy

Outline Working together Working with Nodes Working with Blocks Working with Taxonomy The Form API jQuery Summary

The Form API Fieldset Textfield

The Form API $form[‘name’] = array( ‘#title’ => t(‘Your Name’), ‘#type’ => ‘fieldset’, ‘#description’ => t(‘Please enter your name.’) ); Fieldset

The Form API $form[‘name’][‘user_name’] = array( ‘#title’ => t(‘Your Name’), ‘#type’ => ‘textfield’, ‘#description’ => t(‘Please enter your name.’) ); Textfield

Outline Working together Working with Nodes Working with Blocks Working with Taxonomy The Form API jQuery Summary

jQuery Write PHP in place of JavaScript

jQuery JavaScript window.onload = function{ /*your code*/ } PHP with jQuery $(document).ready( function{ /*your code*/ } ); Drupal with jQuery drupal_add_js(‘$(document).ready( function{ /*your code*/ } );’, ‘inline’);

jQuery jQuery (Drupal 5.0+) jQuery Xajax (PHP library) Xajax Prototype (JavaScript) Prototype Yahoo UI (YUI) (JavaScript) Yahoo UI (YUI)

Outline Working together Working with Nodes Working with Blocks Working with Taxonomy The Form API jQuery Summary

Simple framework Develop fast Work together Work flow? Dependence sequence?