The PHP 5.4 Features You Will Actually Use
|
|
- Susanna Lester
- 8 years ago
- Views:
Transcription
1 The PHP 5.4 Features You Will Actually Use
2 About Me Lorna Jane Mitchell PHP Consultant/Developer Author of PHP Master (Sitepoint) and PHP Web Services (O Reilly) Website:
3 About PHP 5.4 New features Traits Built-in webserver New array syntax and dereferencing And more! Removed some nonsense This talk covers the best bits* * an entirely subjective selection
4 Start With The Easy Bit
5 New Array Syntax
6 Array Syntax We had this: $game[] = 'paper'; $game[] = 'scissors'; $game[] = 'stone'; print_r($game); $game[0] = 'paper'; $game[1] = 'scissors'; $game[2] = 'stone'; print_r($game);
7 Array Syntax Or this: $game = array('stone', 'paper', 'scissors'); print_r($game); $game = array(0 => 'stone', 1 => 'paper', 2 => 'scissors'); print_r($game);
8 Array Syntax Now we can do: $game = ['scissors', 'stone', 'paper']; print_r($game); $game = [0 => 'scissors', 1 => 'stone', 2 => 'paper']; print_r($game);
9 Array Dereferencing
10 Array Dereferencing When an array is returned, immediately pick an element from it function getlist() { return ['Grumpy', 'Sleepy', 'Bashful', 'Doc']; } // grab first item from list $item = getlist()[0]; echo $item; // Grumpy;
11 PHP 5.4 Stealth Feature
12 PHP 5.4 Is Faster
13 PHP Versions Speed Comparison Benchmarks made using: Newly-compiled vanilla PHP binaries Thebench.php script in the PHP source tree A rather average laptop 10 runs per version, then averaged
14 PHP Versions Speed Comparison
15 PHP Versions Speed Comparison
16 PHP Versions Speed Comparison
17 PHP Versions Speed Comparison
18 Traits
19 Traits Re-usable groups of methods, in languages with single inheritance. Declare atrait, it looks like a class Add the trait to your class using theuse keyword Methods are available!
20 Trait Example From ZF2 namespace Zend\EventManager; trait ProvidesEvents { public function seteventmanager(eventmanagerinterface $events) { $identifiers = array( CLASS, get_called_class()); $events->setidentifiers($identifiers); $this->events = $events; return $this; } } public function geteventmanager() { if (!$this->events instanceof EventManagerInterface) { $this->seteventmanager(new EventManager()); } return $this->events; }
21 Using Traits Apply it like this: class Magic { use \Zend\EventManager\ProvidesEvents; } // more magical things $magic = new Magic(); $magic->seteventmanager(new FancyEventManager());
22 Other Trait Trivia They can be aliased when used
23 Other Trait Trivia They can be aliased when used There are rules about resolving naming clashes
24 Other Trait Trivia They can be aliased when used There are rules about resolving naming clashes Traits can include properties
25 Other Trait Trivia They can be aliased when used There are rules about resolving naming clashes Traits can include properties Traits can include abstract methods
26 Other Trait Trivia They can be aliased when used There are rules about resolving naming clashes Traits can include properties Traits can include abstract methods Traits can themselves make use of other traits
27 Built In Webserver
28 Built In Webserver Built in application server for PHP 5.4 Simple Lightweight Development use only From the manual: "Requests are served sequentially."
29 Webserver Examples Start a simple server on a port number of your choice php -S localhost:8080
30 Webserver Examples Change the hostname: php -S dev.project.local:8080
31 Webserver Examples Specify the docroot php -S localhost:8080 -t /var/www/superproject Specify which php.ini to use (default: none) php -S localhost:8080 -c php.ini-development
32 Webserver Examples Use a routing file (example from <?php if (file_exists( DIR. '/'. $_SERVER['REQUEST_URI'])) { return false; // serve the requested resource as-is } else { include_once 'index.php'; } routing.php php -S localhost:8080 routing.php The webserver runsrouting.php before entering the requested script. This example serves any existing resource, or routes toindex.php
33 Session Upload Progress
34 Session Upload Progress File upload progress, written to the session at intervals Useful for user feedback, e.g. shiny new HTML5 progress bars!
35 Tracking Upload Progress User starts uploading file in the usual way <form name="upload" method="post" enctype="multipart/form-data"> <input type="hidden" name="<?php echo ini_get("session.upload_progress.name");?>" value="123" /> File: <input type="file" id="file1" name="file1" /> <input type="submit" value="start upload" /> </form>
36 Tracking Upload Progress In a separate file, we can check the relevant session variables to see how the upload is going: array(1) { ["upload_progress_123"]=> array(5) { ["start_time"]=> int( ) ["content_length"]=> int( ) ["bytes_processed"]=> int( ) ["done"]=> bool(false) ["files"]=> array(1) { [0]=> array(7) {... } } } }
37 Anonymous Functions, invoke and the Callable Typehint
38 Typehinting We can typehint in PHP, on: Classes Interfaces Arrays
39 Typehinting We can typehint in PHP, on: Classes Interfaces Arrays... and now Callable Callable denotes anything that can be called - e.g. a closure, callback or invokable object
40 Anonymous Functions Literally functions with no name More convenient thancreate_function() Example: $ping = function() { echo "ping!"; }; $ping(); // ping!
41 Callable Examples function sparkles(callable $func) { $func(); return "fairy dust"; } $ping = function() { echo "ping!"; }; $pong = "pong"; echo sparkles($ping); // ping!fairy dust echo sparkles($pong); Catchable fatal error: Argument 1 passed to sparkles() must be callable, string given, called in /home/lorna/.../callable.php on line 16 and defined in /home/lorna/.../callable.php on line 10
42 Callable Examples function sparkles(callable $func) { $func(); return "fairy dust"; } class Butterfly { public function invoke() { echo "flutter"; } } $bee = new Butterfly(); echo sparkles($bee); // flutterfairy dust
43 JsonSerializable
44 Sleep and Wakeup When weserialize() orunserialize() an object, PHP provides "magic methods" for us to hook into (this isn t new): sleep() to specify which fields should be serialized wakeup() to perform any operations needed to complete an object when it is unserialized This gives us the same feature for when we JSON something
45 The JsonSerializable Interface From the manual: JsonSerializable { abstract public mixed jsonserialize () } Objects implementing thejsonserializable interface can control how they are represented in JSON when they are passed tojson_encode()
46 JsonSerializable Example class gardenobject implements JsonSerializable { public function jsonserialize() { $data[] = $this->flowers; $data[] = $this->fruit; return $data; } } $garden = new gardenobject(); $garden->flowers = array("clematis", "geranium", "hydrangea"); $garden->herbs = array("mint", "sage", "chives", "rosemary"); $garden->fruit = array("apple", "rhubarb"); echo json_encode($garden); [["clematis","geranium","hydrangea"],["apple","rhubarb"]]
47 No More Nonsense
48 Removed Features register_globals register_long_arrays safe_mode magic_quotes allow_call_time_pass_reference y2k_compliance
49 Upgrading to PHP 5.4 Turn one_deprecated in PHP 5.3 Warns when you use features which are gone in 5.4 Test with the PHP 5.4 webserver
50 PHP 5.4
51 Did I Mention it s Faster?
52 The PHP 5.4 Features I ll Actually Use Short array syntax Traits Built in webserver Upload progress Callable JsonSerializable
53 Questions?
54 Thanks! Resources all here: Web:
The PHP 5.4 Features You Will Actually Use
The PHP 5.4 Features You Will Actually Use About Me Lorna Jane Mitchell PHP Consultant/Developer Author of PHP Master Twitter: @lornajane Website: http://lornajane.net 2 About PHP 5.4 New features Traits
More informationWorking with forms in PHP
2002-6-29 Synopsis In this tutorial, you will learn how to use forms with PHP. Page 1 Forms and PHP One of the most popular ways to make a web site interactive is the use of forms. With forms you can have
More informationDeveloping a Web Server Platform with SAPI Support for AJAX RPC using JSON
Revista Informatica Economică, nr. 4 (44)/2007 45 Developing a Web Server Platform with SAPI Support for AJAX RPC using JSON Iulian ILIE-NEMEDI, Bucharest, Romania, inemedi@ie.ase.ro Writing a custom web
More informationPHP Tutorial From beginner to master
PHP Tutorial From beginner to master PHP is a powerful tool for making dynamic and interactive Web pages. PHP is the widely-used, free, and efficient alternative to competitors such as Microsoft's ASP.
More informationPrintShop Web. Web Integration Guide
PrintShop Web Web Integration Guide PrintShop Web Web Integration Guide Document version: PSW 2.1 R3250 Date: October, 2007 Objectif Lune - Contact Information Objectif Lune Inc. 2030 Pie IX, Suite 500
More information<?php if (Login::isLogged(Login::$_login_front)) { Helper::redirect(Login::$_dashboard_front); }
More information
Facebook Twitter YouTube Google Plus Website Email
PHP MySQL COURSE WITH OOP COURSE COVERS: PHP MySQL OBJECT ORIENTED PROGRAMMING WITH PHP SYLLABUS PHP 1. Writing PHP scripts- Writing PHP scripts, learn about PHP code structure, how to write and execute
More informationPHP Form Handling. Prof. Jim Whitehead CMPS 183 Spring 2006 May 3, 2006
PHP Form Handling Prof. Jim Whitehead CMPS 183 Spring 2006 May 3, 2006 Importance A web application receives input from the user via form input Handling form input is the cornerstone of a successful web
More informationChapter 22 How to send email and access other web sites
Chapter 22 How to send email and access other web sites Murach's PHP and MySQL, C22 2010, Mike Murach & Associates, Inc. Slide 1 Objectives Applied 1. Install and use the PEAR Mail package to send email
More informationForms, CGI Objectives. HTML forms. Form example. Form example...
The basics of HTML forms How form content is submitted GET, POST Elements that you can have in forms Responding to forms Common Gateway Interface (CGI) Later: Servlets Generation of dynamic Web content
More informationHTML Form Widgets. Review: HTML Forms. Review: CGI Programs
HTML Form Widgets Review: HTML Forms HTML forms are used to create web pages that accept user input Forms allow the user to communicate information back to the web server Forms allow web servers to generate
More informationThere are numerous ways to access monitors:
Remote Monitors REMOTE MONITORS... 1 Overview... 1 Accessing Monitors... 1 Creating Monitors... 2 Monitor Wizard Options... 11 Editing the Monitor Configuration... 14 Status... 15 Location... 17 Alerting...
More informationPHP Authentication Schemes
7 PHP Authentication Schemes IN THIS CHAPTER Overview Generating Passwords Authenticating User Against Text Files Authenticating Users by IP Address Authenticating Users Using HTTP Authentication Authenticating
More informationAn Introduction to Developing ez Publish Extensions
An Introduction to Developing ez Publish Extensions Felix Woldt Monday 21 January 2008 12:05:00 am Most Content Management System requirements can be fulfilled by ez Publish without any custom PHP coding.
More informationWeb Programming with PHP 5. The right tool for the right job.
Web Programming with PHP 5 The right tool for the right job. PHP as an Acronym PHP PHP: Hypertext Preprocessor This is called a Recursive Acronym GNU? GNU s Not Unix! CYGNUS? CYGNUS is Your GNU Support
More informationTCP/IP Networking, Part 2: Web-Based Control
TCP/IP Networking, Part 2: Web-Based Control Microchip TCP/IP Stack HTTP2 Module 2007 Microchip Technology Incorporated. All Rights Reserved. Building Embedded Web Applications Slide 1 Welcome to the next
More informationCertified PHP Developer VS-1054
Certified PHP Developer VS-1054 Certification Code VS-1054 Certified PHP Developer Vskills certification for PHP Developers assesses the candidate for developing PHP based applications. The certification
More informationSuiteCRM for Developers
SuiteCRM for Developers Getting started with developing for SuiteCRM Jim Mackin This book is for sale at http://leanpub.com/suitecrmfordevelopers This version was published on 2015-05-22 This is a Leanpub
More informationJavaScript Basics & HTML DOM. Sang Shin Java Technology Architect Sun Microsystems, Inc. sang.shin@sun.com www.javapassion.com
JavaScript Basics & HTML DOM Sang Shin Java Technology Architect Sun Microsystems, Inc. sang.shin@sun.com www.javapassion.com 2 Disclaimer & Acknowledgments Even though Sang Shin is a full-time employee
More informationGTPayment Merchant Integration Manual
GTPayment Merchant Integration Manual Version: Page 1 of 7 What s New in version 1.2.0? 1. Price format limit. Only number or decimal point What s New in version 1.2.1? 1. Take out the Moneybookers
More informationWriting Scripts with PHP s PEAR DB Module
Writing Scripts with PHP s PEAR DB Module Paul DuBois paul@kitebird.com Document revision: 1.02 Last update: 2005-12-30 As a web programming language, one of PHP s strengths traditionally has been to make
More informationMultimedia im Netz Online Multimedia Winter semester 2015/16. Tutorial 03 Major Subject
Multimedia im Netz Online Multimedia Winter semester 2015/16 Tutorial 03 Major Subject Ludwig- Maximilians- Universität München Online Multimedia WS 2015/16 - Tutorial 03-1 Today s Agenda Quick test Server
More informationIntro to Web Programming. using PHP, HTTP, CSS, and Javascript Layton Smith CSE 4000
Intro to Web Programming using PHP, HTTP, CSS, and Javascript Layton Smith CSE 4000 Intro Types in PHP Advanced String Manipulation The foreach construct $_REQUEST environmental variable Correction on
More informationDrupal and ArcGIS Yes, it can be done. Frank McLean Developer
Drupal and ArcGIS Yes, it can be done Frank McLean Developer Who we are NatureServe is a conservation non-profit Network of member programs Track endangered species and habitats Across North America Environmental
More informationAdvanced PostgreSQL SQL Injection and Filter Bypass Techniques
Advanced PostgreSQL SQL Injection and Filter Bypass Techniques INFIGO-TD TD-200 2009-04 2009-06 06-17 Leon Juranić leon.juranic@infigo.hr INFIGO IS. All rights reserved. This document contains information
More informationBy : Ashish Modi. CRUD USING PHP (Create, Read, Update and Delete on Database) Create Database and Table using following Sql Syntax.
CRUD USING PHP (Create, Read, Update and Delete on Database) Create Database and Table using following Sql Syntax. create database test; CREATE TABLE `users` ( `id` int(11) NOT NULL auto_increment, `name`
More informationWhy Use Zend Framework?
Why Use Zend Framework? Alan Seiden PHP on IBM i consultant/developer email: aseiden@sbsusa.com blog: http://alanseiden.com Strategic Business Systems, Inc. Developing Web apps on IBM i (and iseries, i5...)
More informationInstallation Documentation Smartsite ixperion 1.3
Installation Documentation Smartsite ixperion 1.3 Upgrade from ixperion 1.0/1.1 or install from scratch to get started with Smartsite ixperion 1.3. Upgrade from Smartsite ixperion 1.0/1.1: Described in
More informationApp Central: Developer's Guide. For APKG 2.0
App Central: Developer's Guide For APKG 2.0 Revision: 2.0.0 Update: Aug 1, 2013 1 Table of Content 1 System Requirements... 3 1.1 Build Machine... 3 1.2 Target Machine... 3 2 About APKG... 4 2.1 Getting
More informationArt of Code Front-end Web Development Training Program
Art of Code Front-end Web Development Training Program Pre-work (5 weeks) Codecademy HTML5/CSS3 and JavaScript tracks HTML/CSS (7 hours): http://www.codecademy.com/en/tracks/web JavaScript (10 hours):
More informationForm Mail Tutorial. Introduction. The cgi-bin
Form Mail Tutorial Introduction A form is way of allowing your website users to respond to the site by email. The form may be designed to simply provide a means of commenting on the site, through to complex
More informationBuilding Rich Internet Applications with PHP and Zend Framework
Building Rich Internet Applications with PHP and Zend Framework Stanislav Malyshev Software Architect, Zend Technologies IDG: RIAs offer the potential for a fundamental shift in the experience of Internet
More informationLR Product Documentation Documentation
LR Product Documentation Documentation Release 2.5 The LR Team February 10, 2015 Contents 1 Getting Started Guide 1 1.1 Overview................................................. 1 1.2 About the Examples...........................................
More informationPHP Debugging. Draft: March 19, 2013 2013 Christopher Vickery
PHP Debugging Draft: March 19, 2013 2013 Christopher Vickery Introduction Debugging is the art of locating errors in your code. There are three types of errors to deal with: 1. Syntax errors: When code
More informationAnsible. Configuration management tool and ad hoc solution. Marcel Nijenhof <marceln@pion.xs4all.nl>
Ansible Configuration management tool and ad hoc solution Marcel Nijenhof Index Introduction Installing & configuration Playbooks Variables Roles Ansible galaxy Configuration management
More informationGet started with common support tasks
Get started with common support tasks CRM Online Spring '14 or CRM 013 Service Pack 1 (on-premises) Go to the Service work area and get started with creating cases. 1 3 4 Before you create a new customer
More informationCAIL Security Facility NSK Host to Host FTP Encryption
CAIL Security Facility NSK Host to Host FTP Encryption Aug 12, 2004 1-905-940-9000 techsup@cail.com CAIL Security Update NSK Host to Host FTP Encryption Overview CAIL Security capabilities have been extended
More informationSonatype CLM for Maven. Sonatype CLM for Maven
Sonatype CLM for Maven i Sonatype CLM for Maven Sonatype CLM for Maven ii Contents 1 Introduction 1 2 Creating a Component Index 3 2.1 Excluding Module Information Files in Continuous Integration Tools...........
More informationSonatype CLM Enforcement Points - Continuous Integration (CI) Sonatype CLM Enforcement Points - Continuous Integration (CI)
Sonatype CLM Enforcement Points - Continuous Integration (CI) i Sonatype CLM Enforcement Points - Continuous Integration (CI) Sonatype CLM Enforcement Points - Continuous Integration (CI) ii Contents 1
More informationfor NewTech United, London
JANUARY 02, 2015 SECURITY REPORT MADE 02.01.2015 BETWEEN 18:00 22:00 by John Doe Security Specialist at Keios Solutions for NewTech United, London WWW.KEIOS.EU CLUSTER INFORMATION Number of servers: 1
More informationContent Management System
Content Management System XT-CMS INSTALL GUIDE Requirements The cms runs on PHP so the host/server it is intended to be run on should ideally be linux based with PHP 4.3 or above. A fresh install requires
More informationWeb Services Tutorial
Web Services Tutorial Web Services Tutorial http://bit.ly/oaxvdy (while you re waiting, download the files!) 2 About Me Lorna Jane Mitchell PHP Consultant/Developer Author API Specialist Project Lead on
More informationXML Processing and Web Services. Chapter 17
XML Processing and Web Services Chapter 17 Textbook to be published by Pearson Ed 2015 in early Pearson 2014 Fundamentals of http://www.funwebdev.com Web Development Objectives 1 XML Overview 2 XML Processing
More informationCross Site Scripting (XSS) and PHP Security. Anthony Ferrara NYPHP and OWASP Security Series June 30, 2011
Cross Site Scripting (XSS) and PHP Security Anthony Ferrara NYPHP and OWASP Security Series June 30, 2011 What Is Cross Site Scripting? Injecting Scripts Into Otherwise Benign and Trusted Browser Rendered
More informationLAMP [Linux. Apache. MySQL. PHP] Industrial Implementations Module Description
LAMP [Linux. Apache. MySQL. PHP] Industrial Implementations Module Description Mastering LINUX Vikas Debnath Linux Administrator, Red Hat Professional Instructor : Vikas Debnath Contact
More informationA table is a collection of related data entries and it consists of columns and rows.
CST 250 MySQL Notes (Source: www.w3schools.com) MySQL is the most popular open-source database system. What is MySQL? MySQL is a database. The data in MySQL is stored in database objects called tables.
More informationThe C Programming Language course syllabus associate level
TECHNOLOGIES The C Programming Language course syllabus associate level Course description The course fully covers the basics of programming in the C programming language and demonstrates fundamental programming
More informationOnline signature API. Terms used in this document. The API in brief. Version 0.20, 2015-04-08
Online signature API Version 0.20, 2015-04-08 Terms used in this document Onnistuu.fi, the website https://www.onnistuu.fi/ Client, online page or other system using the API provided by Onnistuu.fi. End
More informationMERCHANT INTEGRATION GUIDE. Version 2.8
MERCHANT INTEGRATION GUIDE Version 2.8 CHANGE LOG 1. Added validation on allowed currencies on each payment method. 2. Added payment_method parameter that will allow merchants to dynamically select payment
More informationPHP Integration Kit. Version 2.5.1. User Guide
PHP Integration Kit Version 2.5.1 User Guide 2012 Ping Identity Corporation. All rights reserved. PingFederate PHP Integration Kit User Guide Version 2.5.1 December, 2012 Ping Identity Corporation 1001
More informationIntroduction to Ingeniux Forms Builder. 90 minute Course CMSFB-V6 P.0-20080901
Introduction to Ingeniux Forms Builder 90 minute Course CMSFB-V6 P.0-20080901 Table of Contents COURSE OBJECTIVES... 1 Introducing Ingeniux Forms Builder... 3 Acquiring Ingeniux Forms Builder... 3 Installing
More informationScript Handbook for Interactive Scientific Website Building
Script Handbook for Interactive Scientific Website Building Version: 173205 Released: March 25, 2014 Chung-Lin Shan Contents 1 Basic Structures 1 11 Preparation 2 12 form 4 13 switch for the further step
More informationModule Google Rich Snippets + Product Ratings and Reviews
Module Google Rich Snippets + Product Ratings and Reviews Date : May 13 th, 2013 Business Tech Installation Service If you need help installing and configuring your module, we can offer you an installation
More informationInPost UK Limited GeoWidget Integration Guide Version 1.1
InPost UK Limited GeoWidget Integration Guide Version 1.1 Contents 1.0. Introduction... 3 1.0.1. Using this Document... 3 1.0.1.1. Document Purpose... 3 1.0.1.2. Intended Audience... 3 1.0.2. Background...
More informationFORM-ORIENTED DATA ENTRY
FORM-ORIENTED DATA ENTRY Using form to inquire and collect information from users has been a common practice in modern web page design. Many Web sites used form-oriented input to request customers opinions
More informationMassTransit 6.0 Enterprise Web Configuration For Windows
MassTransit 6.0 Enterprise Web Configuration For Windows November 7, 2008 Group Logic, Inc. 1100 North Glebe Road, Suite 800 Arlington, VA 22201 Phone: 703-528-1555 Fax: 703-528-3296 E-mail: info@grouplogic.com
More informationDevelop PHP mobile apps with Zend Framework
Develop PHP mobile apps with Zend Framework Enrico Zimuel Senior PHP Engineer, Zend Technologies Zend Framework Core Team http://framework.zend.com http://www.zend.com About me Enrico Zimuel (@ezimuel)
More informationez Publish Extension for Oracle(R) database 2.0 ez Publish Extension Manual
ez Publish Extension for Oracle(R) database 2.0 ez Publish Extension Manual 1999 2010 ez Systems AS Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free
More informationWeb Development using PHP (WD_PHP) Duration 1.5 months
Duration 1.5 months Our program is a practical knowledge oriented program aimed at learning the techniques of web development using PHP, HTML, CSS & JavaScript. It has some unique features which are as
More informationWHMCS Integration Manual
WHMCS Integration Manual Manual for installing and configuring WHMCS module 1. Introduction BackupAgent has integrated its service as a module into WHMCS v5 and higher. Service Providers who use WHMCS
More informationPDG Software. Site Design Guide
PDG Software Site Design Guide PDG Software, Inc. 1751 Montreal Circle, Suite B Tucker, Georgia 30084-6802 Copyright 1998-2007 PDG Software, Inc.; All rights reserved. PDG Software, Inc. ("PDG Software")
More information600-152 People Data and the Web Forms and CGI. HTML forms. A user interface to CGI applications
HTML forms A user interface to CGI applications Outline A simple example form. GET versus POST. cgi.escape(). Input controls. A very simple form a simple form
More informationWeb development... the server side (of the force)
Web development... the server side (of the force) Fabien POULARD Document under license Creative Commons Attribution Share Alike 2.5 http://www.creativecommons.org/learnmore Web development... the server
More informationInternet Technologies
QAFQAZ UNIVERSITY Computer Engineering Department Internet Technologies HTML Forms Dr. Abzetdin ADAMOV Chair of Computer Engineering Department aadamov@qu.edu.az http://ce.qu.edu.az/~aadamov What are forms?
More informationARC: appmosphere RDF Classes for PHP Developers
ARC: appmosphere RDF Classes for PHP Developers Benjamin Nowack appmosphere web applications, Kruppstr. 100, 45145 Essen, Germany bnowack@appmosphere.com Abstract. ARC is an open source collection of lightweight
More informationReal SQL Programming 1
Real 1 We have seen only how SQL is used at the generic query interface an environment where we sit at a terminal and ask queries of a database. Reality is almost always different: conventional programs
More informationMonitoring Drupal with Sensu. John VanDyk Iowa State University DrupalCorn Iowa City August 10, 2013
Monitoring Drupal with Sensu John VanDyk Iowa State University DrupalCorn Iowa City August 10, 2013 What is Sensu? Sensu architecture Sensu server Sensu client Drupal and Sensu Q: What is Sensu? A: A monitoring
More informationContents. 2 Alfresco API Version 1.0
The Alfresco API Contents The Alfresco API... 3 How does an application do work on behalf of a user?... 4 Registering your application... 4 Authorization... 4 Refreshing an access token...7 Alfresco CMIS
More informationRecommended readings. Lecture 11 - Securing Web. Applications. Security. Declarative Security
Recommended readings Lecture 11 Securing Web http://www.theserverside.com/tt/articles/content/tomcats ecurity/tomcatsecurity.pdf http://localhost:8080/tomcat-docs/security-managerhowto.html http://courses.coreservlets.com/course-
More information2- Forms and JavaScript Course: Developing web- based applica<ons
2- Forms and JavaScript Course: Cris*na Puente, Rafael Palacios 2010- 1 Crea*ng forms Forms An HTML form is a special section of a document which gathers the usual content plus codes, special elements
More informationNovell Identity Manager
AUTHORIZED DOCUMENTATION Manual Task Service Driver Implementation Guide Novell Identity Manager 4.0.1 April 15, 2011 www.novell.com Legal Notices Novell, Inc. makes no representations or warranties with
More information07 Forms. 1 About Forms. 2 The FORM Tag. 1.1 Form Handlers
1 About Forms For a website to be successful, it is important to be able to get feedback from visitors to your site. This could be a request for information, general comments on your site or even a product
More informationBlufusion.net. Easy AJAX Post with jquery and CodeIgniter. Home. php javascript jquery codeigniter web development.
Home Blufusion.net php javascript jquery codeigniter web development CodeIgniter CSS jquery php javascript Subscribe by: RSS TeamViewer vs Local Web Server PHP/JS Contest: Win an iphone 3GS at Nettuts
More informationDynamic Web-Enabled Data Collection
Dynamic Web-Enabled Data Collection S. David Riba, Introduction Web-based Data Collection Forms Error Trapping Server Side Validation Client Side Validation Dynamic generation of web pages with Scripting
More informationsocketio Documentation
socketio Documentation Release 0.1 Miguel Grinberg January 17, 2016 Contents 1 What is Socket.IO? 3 2 Getting Started 5 3 Rooms 7 4 Responses 9 5 Callbacks 11 6 Namespaces 13 7 Using a Message Queue 15
More informationDESIGNING HTML HELPERS TO OPTIMIZE WEB APPLICATION DEVELOPMENT
Abstract DESIGNING HTML HELPERS TO OPTIMIZE WEB APPLICATION DEVELOPMENT Dragos-Paul Pop 1 Building a web application or a website can become difficult, just because so many technologies are involved. Generally
More informationAssignment 3 Version 2.0 Reactive NoSQL Due April 13
CS 635 Advanced OO Design and Programming Spring Semester, 2016 Assignment 3 2016, All Rights Reserved, SDSU & Roger Whitney San Diego State University -- This page last updated 4/2/16 Assignment 3 Version
More informationRESTful web applications with Apache Sling
RESTful web applications with Apache Sling Bertrand Delacrétaz Senior Developer, R&D, Day Software, now part of Adobe Apache Software Foundation Member and Director http://grep.codeconsult.ch - twitter:
More informationDesigning for Dynamic Content
Designing for Dynamic Content Course Code (WEB1005M) James Todd Web Design BA (Hons) Summary This report will give a step-by-step account of the relevant processes that have been adopted during the construction
More informationApplication development in XML
Application development in XML exist-db & XQuery Alexander Czmiel 17.04.2015 What do you know by now? HTML, CSS, JavaScript to build beautiful and informative digital resources for humanities scholarship
More informationSecure Application Development with the Zend Framework
Secure Application Development with the Zend Framework By Stefan Esser Who? Stefan Esser from Cologne / Germany in IT security since 1998 PHP core developer since 2001 Month of PHP Bugs/Security and Suhosin
More informationClickCartPro Software Installation README
ClickCartPro Software Installation README This document outlines installation instructions for ClickCartPro Software. SOFTWARE REQUIREMENTS The following requirements must be met by the webserver on which
More informationby khoaofgod@yahoo.com http://www.facebook.com/khoab
phpfastcache V2 by khoaofgod@yahoo.com http://www.facebook.com/khoab Website: http://www.phpfastcache.com Github: https://github.com/khoaofgod/phpfastcache 1. What s new in version 2.0? To take advantage
More informationFicha técnica de curso Código: IFCPR190b. Learning PHP, MySql and JavaScript
Curso de: Objetivos: Learning PHP, MySql and JavaScript Aprender al desarrollo Web con las herramientas mas extendidas en la red como son un potente lenguaje interpretado, una buena base de datos y un
More informationCGI Programming. What is CGI?
CGI Programming What is CGI? Common Gateway Interface A means of running an executable program via the Web. CGI is not a Perl-specific concept. Almost any language can produce CGI programs even C++ (gasp!!)
More informationTypeScript for C# developers. Making JavaScript manageable
TypeScript for C# developers Making JavaScript manageable Agenda What is TypeScript OO in TypeScript Closure Generics Iterators Asynchronous programming Modularisation Debugging TypeScript 2 What is TypeScript
More informationHow does Drupal 7 Work? Tess Flynn, KDØPQK www.deninet.com
How does Drupal 7 Work? Tess Flynn, KDØPQK www.deninet.com About the Author Bachelor of Computer Science Used Drupal since 4.7 Switched from self-built PHP CMS Current Job: Not in Drupal! But she d like
More informationCS412 Interactive Lab Creating a Simple Web Form
CS412 Interactive Lab Creating a Simple Web Form Introduction In this laboratory, we will create a simple web form using HTML. You have seen several examples of HTML pages and forms as you have worked
More informationHow To Install Netbackup Access Control (Netbackup) On A Netbackups (Net Backup) On Unix And Non Ha (Net Backup) (Net Backups) (Unix) (Non Ha) (Windows) (
Tech Note 4 NBAC (NetBackup Access Control) UNIX Quick Install Non HA This section includes the following topics About NBAC (NetBackup Access Control) About NBAC (NetBackup Access Control) Starting Checklist
More informationLog Analyzer Reference
IceWarp Unified Communications Log Analyzer Reference Version 10.4 Printed on 27 February, 2012 Contents Log Analyzer 1 Quick Start... 2 Required Steps... 2 Optional Steps... 3 Advanced Configuration...
More informationA Comparative Study on Vega-HTTP & Popular Open-source Web-servers
A Comparative Study on Vega-HTTP & Popular Open-source Web-servers Happiest People. Happiest Customers Contents Abstract... 3 Introduction... 3 Performance Comparison... 4 Architecture... 5 Diagram...
More informationLesson 7 - Website Administration
Lesson 7 - Website Administration If you are hired as a web designer, your client will most likely expect you do more than just create their website. They will expect you to also know how to get their
More informationAdvanced Bash Scripting. Joshua Malone (jmalone@ubergeeks.com)
Advanced Bash Scripting Joshua Malone (jmalone@ubergeeks.com) Why script in bash? You re probably already using it Great at managing external programs Powerful scripting language Portable and version-stable
More informationJavaScript Patterns. Stoyan Stefanov. O'REILLY' Beijing Cambridge Farnham Koln Sebastopol Tokyo
JavaScript Patterns Stoyan Stefanov O'REILLY' Beijing Cambridge Farnham Koln Sebastopol Tokyo Table of Contents Preface xi 1. Introduction 1 Patterns 1 JavaScript: Concepts 3 Object-Oriented 3 No Classes
More informationphpservermon Documentation
phpservermon Documentation Release 3.1.0-dev Pepijn Over May 11, 2014 Contents 1 Introduction 3 1.1 Summary................................................. 3 1.2 Features..................................................
More informationModule Google Rich Snippets + Product Ratings and Reviews
Module Google Rich Snippets + Product Ratings and Reviews Date : September 11 th, 2012 Business Tech Installation Service If you need help installing and configuring your module, we can offer you an installation
More informationOverview. In the beginning. Issues with Client Side Scripting What is JavaScript? Syntax and the Document Object Model Moving forward with JavaScript
Overview In the beginning Static vs. Dynamic Content Issues with Client Side Scripting What is JavaScript? Syntax and the Document Object Model Moving forward with JavaScript AJAX Libraries and Frameworks
More informationPerl in a nutshell. First CGI Script and Perl. Creating a Link to a Script. print Function. Parsing Data 4/27/2009. First CGI Script and Perl
First CGI Script and Perl Perl in a nutshell Prof. Rasley shebang line tells the operating system where the Perl interpreter is located necessary on UNIX comment line ignored by the Perl interpreter End
More informationLICENSE4J AUTO LICENSE GENERATION AND ACTIVATION SERVER USER GUIDE
LICENSE4J AUTO LICENSE GENERATION AND ACTIVATION SERVER USER GUIDE VERSION 1.6.0 LICENSE4J www.license4j.com Table of Contents Getting Started... 2 Server Roles... 4 Installation... 9 Server WAR Deployment...
More informationVisual Basic Programming. An Introduction
Visual Basic Programming An Introduction Why Visual Basic? Programming for the Windows User Interface is extremely complicated. Other Graphical User Interfaces (GUI) are no better. Visual Basic provides
More information