Wstęp do programowania w języku PHP

Size: px
Start display at page:

Download "Wstęp do programowania w języku PHP"

Transcription

1 Wstęp do programowania w języku PHP

2 Programowanie obiektowe PHP OOP

3 O czym jest ta prezentacja wstęp do programowania obiektowego cechy języka php przestrzenie nazw composer automatyczne ładowanie klas

4 Programowanie obiektowe klasa enkapsulacja metody magiczne dziedziczenie klasy abstrakcyjne interfejsy cechy przestrzenie nazw

5 Klasa /** * Class representing any electronic Device John Doe <[email protected]> */ class Device { /** * Outer case color string */ public $color = 'white'; /** * Returns device's unique s/n string */ public function getserial() { return '1M8GDM9AKP042788'; /** * Performs soft restart on a device */ public function restart() {

6 Klasa class Device { public $color = 'white'; public function getserial () { return '1M8GDM9AKP042788' ; public function restart () { $mydevice = new Device(); $mydevice ->color = 'black';

7 Enkapsulacja class Device { private $color = 'white'; public function getserial () { return '1M8GDM9AKP042788' ; $mydevice = new Device(); $mydevice ->color = 'black'; Fatal error: Cannot access private property Device::$color

8 Enkapsulacja class Device { private $color = 'white'; Modyfikatory dostępu private protected public public function getserial () { return '1M8GDM9AKP042788' ; $mydevice = new Device(); $mydevice ->color = 'black'; Fatal error: Cannot access private property Device::$color

9 Konstruktor class Phone { private $imei; public function construct ($imei) { $this->imei = $imei;

10 Konstruktor class Phone { private $imei; public function construct ($imei) { $this->imei = $imei;

11 Konstruktor class Phone { private $imei; public function construct ($imei) { $this->imei = $imei; $foo = new Phone();

12 Konstruktor class Phone { private $imei; public function construct ($imei) { $this->imei = $imei; $foo = new Phone(); Warning:Missing argument 1 for Phone:: construct ()

13 Konstruktor class Phone { private $imei; public function construct ($imei) { $this->imei = $imei; $foo = new Phone(' ' );

14 Metody Magiczne class Phone { private $attributes = array(); public function construct (array $attributes ) { $this->attributes = $attributes ;

15 Metody Magiczne class Phone { private $attributes = array(); public function construct (array $attributes ) { $this->attributes = $attributes ; public function get($name) { if(array_key_exists ($name, $this->attributes )) { return $this->attributes [$name]; return null;

16 Metody Magiczne class Phone { //... public function get($name) { if(array_key_exists ($name, $this->attributes )) { return $this->attributes [$name]; return null; $phone = new Phone([ 'color' => 'black', 'mpix' => 8 ]); echo $phone->mpix;

17 Metody Magiczne class Phone { //... public function set($name, $value ) { $this->attributes[$name] = $value; $phone = new Phone([ 'color' => 'black', 'mpix' => 8 ]);

18 Metody Magiczne class Phone { //... public function set($name, $value ) { $this->attributes[$name] = $value; $phone = new Phone([ 'color' => 'black', 'mpix' => 8 ]); $phone->mpix = 16; echo $phone->mpix;

19 Dziedziczenie class Phone extends Device { public function call($number) { // (...) $myphone = new Phone();

20 Dziedziczenie class Phone extends Device { public function call($number) { // (...) $myphone = new Phone(); $myphone ->color = 'blue';

21 Dziedziczenie class Phone extends Device { public function call($number) { // (...) $myphone = new Phone(); $myphone ->color = 'blue'; $serial = $myphone ->getserial ();

22 Dziedziczenie class Phone extends Device { public function call($number) { // (...) $myphone = new Phone(); $myphone ->color = 'blue'; $serial = $myphone ->getserial (); $myphone ->call(' ' );

23 Klasa abstrakcyjna abstract class PhoneAbstract { public $color = 'white'; public abstract function call($number); ; $somephone = new PhoneAbstract ();

24 Klasa abstrakcyjna abstract class PhoneAbstract { public $color = 'white'; public abstract function call($number); ; $somephone = new PhoneAbstract (); Fatal error: Cannot instantiate abstract class Phone

25 Klasa abstrakcyjna class IPhone extends PhoneAbstract { ; $iphone = new IPhone();

26 Klasa abstrakcyjna class IPhone extends PhoneAbstract { ; $iphone = new IPhone(); Fatal error: Class IPhone contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Phone::call)

27 Klasa abstrakcyjna class IPhone extends PhoneAbstract { public function call($number){ //... ;

28 Klasa abstrakcyjna vs interfejs abstract class Camera { public abstract function record(); class IPhone extends Phone, Camera {

29 Klasa abstrakcyjna vs interfejs abstract class Camera { public abstract function record(); class IPhone extends Phone, Camera {

30 Klasa abstrakcyjna vs interfejs abstract class Camera{ public abstract function record(); class IPhone extends Phone, Camera { Brak wielokrotnego dziedziczenia w języku PHP

31 Interface common/phoneinterface.php interface PhoneInterface { public function call($number); common/camerainterface.php interface CameraInterface { public function record();

32 Interface common/phoneinterface.php interface PhoneInterface { public function call($number); common/camerainterface.php interface CameraInterface { public function record(); class IPhone implements PhoneInterface, CameraInterface { public function call($number) { /*... */ public function record() { /*... */

33 Interface common/phoneinterface.php interface PhoneInterface { public function call($number); Tylko metody publiczne common/camerainterface.php interface CameraInterface { public function record(); class IPhone implements PhoneInterface, CameraInterface { public function call($number) { /*... */ public function record() { /*... */

34 Cechy trait PhoneBehavior { public function call($number) { /*... */

35 Cechy trait PhoneBehavior { public function call($number) { /*... */ trait CameraBehavior { public function record() { /*... */

36 Cechy trait PhoneBehavior { public function call($number) { /*... */ trait CameraBehavior { public function record() { /*... */ class IPhone { use PhoneBehavior, CameraBehavior ; $iphone = new IPhone(); $iphone->record();

37 Przestrzenie nazw smartphone/camerainterface.php /** * This is a smartphone camera interface, every smartphone with digital camera must implement * this interface. */ interface CameraInterface { sony/dvr/camerainterface.php /** * This is SONY digital camera interface, every sony DVR must implement this interface. */ interface CameraInterface {

38 Przestrzenie nazw smartphone/camerainterface.php /** * This is a smartphone camera interface, every smartphone with digital camera must implement * this interface. */ interface CameraInterface { sony/dvr/camerainterface.php /** * This is SONY digital camera interface, every sony DVR must implement this interface. */ interface CameraInterface { class IPhone implements PhoneInterface, CameraInterface { public function call($number) { /*... */ public function record() { /*... */

39 Przestrzenie nazw smartphone/camerainterface.php Kolizja nazw, parser PHP nie wie, który interfejs implementuje nasz IPhone /** * This is a smartphone camera interface, every smartphone with digital camera must implement * this interface. */ interface CameraInterface { sony/dvr/camerainterface.php /** * This is SONY digital camera interface, every sony DVR must implement this interface. */ interface CameraInterface { class IPhone implements PhoneInterface, CameraInterface { public function call($number) { /*... */ public function record() { /*... */

40 Przestrzenie nazw src/apple/camerainterface.php namespace Apple; interface CameraInterface { public function record(); public function takephoto ();

41 Przestrzenie nazw src/apple/camerainterface.php namespace Apple; interface CameraInterface { public function record(); public function takephoto (); src/apple/iphone.php namespace Apple; class Iphone implements CameraInterface {

42 Przestrzenie nazw namespace MyApplication ; use Apple; $phone = new Apple\IPhone ();

43

44 Zarządzanie zależnościami composer

45 Zarządzanie zależnościami co to są zależności composer.json packagist automatyczne ładowanie klas

46 Zależności i zależności zależności

47 composer.json { "require": { "symfony/translation": "*"

48

49

50 Automatyczne ładowanie klas require 'vendor/autoload.php' ; use Symfony\Component\Translation\Translator ; use Symfony\Component\Translation\MessageSelector ; use Symfony\Component\Translation\Loader\ArrayLoader ; $translator = new Translator ('fr_fr', new MessageSelector ()); $translator ->setfallbacklocales (array('fr')); $translator ->addloader ('array', new ArrayLoader ()); $translator ->addresource ('array', array( 'Hello World!' => 'Bonjour', ), 'fr'); echo $translator ->trans('hello World!' )."\n";

51 composer.json { "require": { "symfony/translation": "*", "autoload": { "psr-4": {"RSTDevSchool\\": "src/"

52 Automatyczne ładowanie klas namespace RSTDevSchool ; use Symfony\Component\Translation\Translator ; use Symfony\Component\Translation\MessageSelector ; use Symfony\Component\Translation\Loader\ArrayLoader ; class Renderer { public function render($view) { /* */ $this->renderinternal ($view, $this->translator );

53 Automatyczne ładowanie klas require 'vendor/autoload.php' ; use \RstDevSchool\Renderer ;

54 Automatyczne ładowanie klas require 'vendor/autoload.php' ; use \RstDevSchool\Renderer ; use \RSTDevSchool as Rst;

55 Automatyczne ładowanie klas require 'vendor/autoload.php' ; use \RstDevSchool\Renderer ; use \RSTDevSchool as Rst; $renderer = new Rst/Renderer (); $renderer ->render('myview' );

56 Automatyczne ładowanie klas require 'vendor/autoload.php' ; use \RstDevSchool\Renderer ; use \RSTDevSchool as Rst; $renderer = new Rst/Renderer (); $renderer ->render('myview' ); $renderer = new Renderer (); $renderer ->render('myotherview' );

57 slim framework { "require": { "slim/slim": "2.*"

58 slim framework require 'vendor/autoload.php' ; $app = new \Slim\Slim (); $app->get('/hello/:name', function ($name) { echo "Hello, $name"; ); $app->run();

59 Dziekuje ;)

Intro 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 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 information

A Tour of Silex and Symfony Components. Robert Parker @yamiko_ninja

A Tour of Silex and Symfony Components. Robert Parker @yamiko_ninja A Tour of Silex and Symfony Components Robert Parker @yamiko_ninja Wait Not Drupal? Self Introduction PHP Developer since 2012 HTML and JavaScript Since 2010 Full Stack Developer at Dorey Design Group

More information

CS170 Lab 11 Abstract Data Types & Objects

CS170 Lab 11 Abstract Data Types & Objects CS170 Lab 11 Abstract Data Types & Objects Introduction: Abstract Data Type (ADT) An abstract data type is commonly known as a class of objects An abstract data type in a program is used to represent (the

More information

The PHP 5.4 Features You Will Actually Use

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 information

. g .,, . . , Applicability of

More information

Note: This App is under development and available for testing on request. Note: This App is under development and available for testing on request. Note: This App is under development and available for

More information

Ch 7-1. Object-Oriented Programming and Classes

Ch 7-1. Object-Oriented Programming and Classes 2014-1 Ch 7-1. Object-Oriented Programming and Classes May 10, 2014 Advanced Networking Technology Lab. (YU-ANTL) Dept. of Information & Comm. Eng, Graduate School, Yeungnam University, KOREA (Tel : +82-53-810-2497;

More information

Testking.M70-301.90Q

Testking.M70-301.90Q Testking.M70-301.90Q Number: M70-301 Passing Score: 800 Time Limit: 120 min File Version: 6.0 http://www.gratisexam.com/ M70-301 Magento Front End Developer Certification Exam a) I found your Questions

More information

How Scala Improved Our Java

How Scala Improved Our Java How Scala Improved Our Java Sam Reid PhET Interactive Simulations University of Colorado http://spot.colorado.edu/~reids/ PhET Interactive Simulations Provides free, open source educational science simulations

More information

Entites in Drupal 8. Sascha Grossenbacher Christophe Galli

Entites in Drupal 8. Sascha Grossenbacher Christophe Galli Entites in Drupal 8 Sascha Grossenbacher Christophe Galli Who are we? Sascha (berdir) Christophe (cgalli) Active core contributor Entity system maintainer Porting and maintaining lots of D8 contrib projects

More information

ARC: appmosphere RDF Classes for PHP Developers

ARC: appmosphere RDF Classes for PHP Developers ARC: appmosphere RDF Classes for PHP Developers Benjamin Nowack appmosphere web applications, Kruppstr. 100, 45145 Essen, Germany [email protected] Abstract. ARC is an open source collection of lightweight

More information

Sending images from a camera to an iphone. PowerShot G1X MarkII, PowerShot SX600 HS, PowerShot N100, PowerShot SX700 HS, PowerShot ELPH 340 HS

Sending images from a camera to an iphone. PowerShot G1X MarkII, PowerShot SX600 HS, PowerShot N100, PowerShot SX700 HS, PowerShot ELPH 340 HS Sending images from a camera to an iphone PowerShot G1X MarkII, PowerShot SX600 HS, PowerShot N100, PowerShot SX700 HS, PowerShot ELPH 340 HS IMPORTANT In the following explanation, iphone setting procedures

More information

Yandex.Widgets Quick start

Yandex.Widgets Quick start 17.09.2013 .. Version 2 Document build date: 17.09.2013. This volume is a part of Yandex technical documentation. Yandex helpdesk site: http://help.yandex.ru 2008 2013 Yandex LLC. All rights reserved.

More information

SECTION 1: FIND OUT THE IP ADDRESS OF DVR To find out the IP of DVR for your DVR do the following:

SECTION 1: FIND OUT THE IP ADDRESS OF DVR To find out the IP of DVR for your DVR do the following: NOTE! The DVR and PC must be connected to the same router. Things you will need to know : 1. The make and model of the router. 2. If you changed the default r outer login, then you will need to know the

More information

Using vcenter Orchestrator AMQP Plug-in

Using vcenter Orchestrator AMQP Plug-in Using vcenter Orchestrator AMQP Plug-in Walkthrough guide TECHNICAL WHITE PAPER Document Title Table of Contents What is vcenter Orchestrator AMQP Plug-in?... 2 AMQP Plug-in Installation... 2 Configure

More information

LAB 1. Familiarization of Rational Rose Environment And UML for small Java Application Development

LAB 1. Familiarization of Rational Rose Environment And UML for small Java Application Development LAB 1 Familiarization of Rational Rose Environment And UML for small Java Application Development OBJECTIVE AND BACKGROUND The purpose of this first UML lab is to familiarize programmers with Rational

More information

Multimedia 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 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 information

WEB SERVICES TECHNICAL GUIDE FOR DEVELOPERS

WEB SERVICES TECHNICAL GUIDE FOR DEVELOPERS WEB SERVICES TECHNICAL GUIDE FOR DEVELOPERS 1. Introduction This Technical Manual considers a development project that need to integrate with the Web Services Central Bank of Chile provides, to obtain

More information

BEST PRACTICES FOR OBTAINING MOBILE DEVICE IDENTIFIERS FOR MOBILE DEVICE THEFT PREVENTION (MDTP)

BEST PRACTICES FOR OBTAINING MOBILE DEVICE IDENTIFIERS FOR MOBILE DEVICE THEFT PREVENTION (MDTP) ATIS-0700024 ATIS Standard on - BEST PRACTICES FOR OBTAINING MOBILE DEVICE IDENTIFIERS FOR MOBILE DEVICE THEFT PREVENTION (MDTP) As a leading technology and solutions development organization, the Alliance

More information

PHP Integration Kit. Version 2.5.1. User Guide

PHP 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 information

4G Ready Mobiles - Apple Devices

4G Ready Mobiles - Apple Devices 4G Ready Mobiles - Apple Devices iphone 5s iphone 5c Dimensions 123.8 x 58.6 x 7.6mm Weight 112g LED-backlit IPS LCD, capacitive Size 640 x 1136 pixels, 4.0 inches /32GB/64GB Camera 8 MP (Rear) 1.2MP (Front)

More information

An Introduction to Developing ez Publish Extensions

An 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 information

Specialized Programme on Web Application Development using Open Source Tools

Specialized Programme on Web Application Development using Open Source Tools Specialized Programme on Web Application Development using Open Source Tools A. NAME OF INSTITUTE Centre For Development of Advanced Computing B. NAME/TITLE OF THE COURSE C. COURSE DATES WITH DURATION

More information

Java Server Pages and Java Beans

Java Server Pages and Java Beans Java Server Pages and Java Beans Java server pages (JSP) and Java beans work together to create a web application. Java server pages are html pages that also contain regular Java code, which is included

More information

Instructor: Betty O Neil

Instructor: Betty O Neil Introduction to Web Application Development, for CS437/637 Instructor: Betty O Neil 1 Introduction: Internet vs. World Wide Web Internet is an interconnected network of thousands of networks and millions

More information

Script Handbook for Interactive Scientific Website Building

Script 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 information

Home AV Networks. T-111.5350 Multimedia Programming. Outline. Architectures Media Centers Distributed Systems. Jari Kleimola November 2, 2006

Home AV Networks. T-111.5350 Multimedia Programming. Outline. Architectures Media Centers Distributed Systems. Jari Kleimola November 2, 2006 Home AV Networks T-111.5350 Multimedia Programming Jari Kleimola November 2, 2006 Outline Systems Integration i standalone combos all-in-one STB STB + HDD DVD HDD VHS TV CD Radio Tape DVD + HDD DVD + VHS

More information

This is our best... YOUR best... Online Banking yet!

This is our best... YOUR best... Online Banking yet! INTERNATIONAL FINANCE BANK CUSTOMER USER GUIDE MAKING BANKING A BREEZE! This is our best... YOUR best... Online Banking yet! Member FDIC New & Improved Online Banking Experience > IFB is proud to introduce

More information

USING MAGENTO TRANSLATION TOOLS

USING MAGENTO TRANSLATION TOOLS Magento Translation Tools 1 USING MAGENTO TRANSLATION TOOLS Magento translation tools make the implementation of multi-language Magento stores significantly easier. They allow you to fetch all translatable

More information

It has a parameter list Account(String n, double b) in the creation of an instance of this class.

It has a parameter list Account(String n, double b) in the creation of an instance of this class. Lecture 10 Private Variables Let us start with some code for a class: String name; double balance; // end Account // end class Account The class we are building here will be a template for an account at

More information

Write Your Angry Bird Game on Tizen for Fun and Profit. Lu Guanqun Intel Corporation

Write Your Angry Bird Game on Tizen for Fun and Profit. Lu Guanqun Intel Corporation Write Your Angry Bird Game on Tizen for Fun and Profit Lu Guanqun Intel Corporation Why? 3 The market is big! 4 Famous games apps Playing games is fun. Developing a game is more fun. 5 How? Native app

More information

Dashboard Skin Tutorial. For ETS2 HTML5 Mobile Dashboard v3.0.2

Dashboard Skin Tutorial. For ETS2 HTML5 Mobile Dashboard v3.0.2 Dashboard Skin Tutorial For ETS2 HTML5 Mobile Dashboard v3.0.2 Dashboard engine overview Dashboard menu Skin file structure config.json Available telemetry properties dashboard.html dashboard.css Telemetry

More information

the future of mobile web by startech.ro

the future of mobile web by startech.ro the future of mobile web by startech.ro year of the mobile web 2007 2008 2009 2010 2011 2 year of the mobile web 2007 2008 2009 2010 2011 3 year of the mobile web 2007 2008 2009 2010 2011 4 the device

More information

MASTERTAG DEVELOPER GUIDE

MASTERTAG DEVELOPER GUIDE MASTERTAG DEVELOPER GUIDE TABLE OF CONTENTS 1 Introduction... 4 1.1 What is the zanox MasterTag?... 4 1.2 What is the zanox page type?... 4 2 Create a MasterTag application in the zanox Application Store...

More information

Using an iphone to control the camera during remote shooting (PowerShot SX530 HS, SX610 HS, and SX710 HS)

Using an iphone to control the camera during remote shooting (PowerShot SX530 HS, SX610 HS, and SX710 HS) Using an iphone to control the camera during remote shooting (PowerShot SX530 HS, SX610 HS, and SX710 HS) You can check the shooting screen and shoot remotely using your smartphone. IMPORTANT In the following

More information

qwertyuiopasdfghjklzxcvbnmqwerty uiopasdfghjklzxcvbnmqwertyuiopasd fghjklzxcvbnmqwertyuiopasdfghjklzx cvbnmqwertyuiopasdfghjklzxcvbnmq

qwertyuiopasdfghjklzxcvbnmqwerty uiopasdfghjklzxcvbnmqwertyuiopasd fghjklzxcvbnmqwertyuiopasdfghjklzx cvbnmqwertyuiopasdfghjklzxcvbnmq qwertyuiopasdfghjklzxcvbnmqwerty uiopasdfghjklzxcvbnmqwertyuiopasd fghjklzxcvbnmqwertyuiopasdfghjklzx cvbnmqwertyuiopasdfghjklzxcvbnmq Introduction to Programming using Java wertyuiopasdfghjklzxcvbnmqwertyui

More information

Lecture 17: Mobile Computing Platforms: Android. Mythili Vutukuru CS 653 Spring 2014 March 24, Monday

Lecture 17: Mobile Computing Platforms: Android. Mythili Vutukuru CS 653 Spring 2014 March 24, Monday Lecture 17: Mobile Computing Platforms: Android Mythili Vutukuru CS 653 Spring 2014 March 24, Monday Mobile applications vs. traditional applications Traditional model of computing: an OS (Linux / Windows),

More information

Classes, Objects, and Methods

Classes, Objects, and Methods Classes, Objects, and Methods CS 5010 Program Design Paradigms "Bootcamp" Lesson 10.1 Mitchell Wand, 2012-2014 This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International

More information

Drupal 8. Core and API Changes Shabir Ahmad MS Software Engg. NUST Principal Software Engineser PHP/Drupal [email protected]

Drupal 8. Core and API Changes Shabir Ahmad MS Software Engg. NUST Principal Software Engineser PHP/Drupal engr.shabir@yahoo.com Drupal 8 Core and API Changes Shabir Ahmad MS Software Engg. NUST Principal Software Engineser PHP/Drupal [email protected] Agenda What's coming in Drupal 8 for o End users and clients? o Site builders?

More information

Scoping (Readings 7.1,7.4,7.6) Parameter passing methods (7.5) Building symbol tables (7.6)

Scoping (Readings 7.1,7.4,7.6) Parameter passing methods (7.5) Building symbol tables (7.6) Semantic Analysis Scoping (Readings 7.1,7.4,7.6) Static Dynamic Parameter passing methods (7.5) Building symbol tables (7.6) How to use them to find multiply-declared and undeclared variables Type checking

More information

Once the software has finished downloading, locate the ivms-4000(v2.0).exe on your hard drive and open it.

Once the software has finished downloading, locate the ivms-4000(v2.0).exe on your hard drive and open it. Installing the IVMS ZoomVideo software on a PC The ivms ZoomVideo software can be downloaded, free of charge, from the ZoomVideo website. Go to http://zoomvideo.com.au/, click on support and select the

More information

How To Write A Program On Java.Io.2.2 (Java)

How To Write A Program On Java.Io.2.2 (Java) Programowanie i projektowanie obiektowe Java Paweł Daniluk Wydział Fizyki Jesień 2014 P. Daniluk(Wydział Fizyki) PO w. XIII Jesień 2014 1 / 51 Przegląd składni Komentarze / This i s a m u l t i l i n e

More information

database abstraction layer database abstraction layers in PHP Lukas Smith BackendMedia [email protected]

database abstraction layer database abstraction layers in PHP Lukas Smith BackendMedia smith@backendmedia.com Lukas Smith database abstraction layers in PHP BackendMedia 1 Overview Introduction Motivation PDO extension PEAR::MDB2 Client API SQL syntax SQL concepts Result sets Error handling High level features

More information

Business Online Banking Quick Users Guide

Business Online Banking Quick Users Guide Business Online Banking Quick Users Guide Business Online Banking Quick Users Guide Table of Contents Overview 2 First Time Login 2 Security 4 Contact Points 4 Registering your Browser / Computer 5 Adding,

More information

1 CONNECT & CREATE CHAMBERLAIN INTERNET GATEWAY USER S GUIDE. Featuring MyQ Technology

1 CONNECT & CREATE CHAMBERLAIN INTERNET GATEWAY USER S GUIDE. Featuring MyQ Technology CHAMBERLAIN INTERNET GATEWAY USER S GUIDE Featuring MyQ Technology This User s Guide will help you get the most from your Chamberlain MyQ enabled products when using a smartphone, tablet, or computer to

More information

How To Create A Simple Module in Magento 2.0. A publication of

How To Create A Simple Module in Magento 2.0. A publication of How To Create A Simple Module in Magento 2.0 A publication of Mageno 2.0 was officially launched in 18 th December 2014, which is a hot event to Magento community. To understand more about which will be

More information

SRFax Fax API Web Services Documentation

SRFax Fax API Web Services Documentation SRFax Fax API Web Services Documentation Revision Date: July 2015 The materials and sample code are provided only for the purpose of an existing or potential customer evaluating or implementing a programmatic

More information

Release Notes: Onsight Connect for Android Software Release Notes. Software Version 6.7.8. Revision 1.0.0

Release Notes: Onsight Connect for Android Software Release Notes. Software Version 6.7.8. Revision 1.0.0 Release Notes: Onsight Connect for Android Software Release Notes Software Version 6.7.8 Revision 1.0.0 September 2015 TABLE OF CONTENTS Document Revision History... 3 OVERVIEW... 4 Software Installation...

More information

Stack vs. Heap. Introduction to Programming. How the Stack Works. Primitive vs. Reference Types. Stack

Stack vs. Heap. Introduction to Programming. How the Stack Works. Primitive vs. Reference Types. Stack Primitive vs. Reference Types Introduction to Programming with Java, for Beginners Primitive vs. References Type Stack vs. Heap Null Pointer Exception Keyword this Strings Has a Relationship We ve seen

More information

public static void main(string[] args) { System.out.println("hello, world"); } }

public static void main(string[] args) { System.out.println(hello, world); } } Java in 21 minutes hello world basic data types classes & objects program structure constructors garbage collection I/O exceptions Strings Hello world import java.io.*; public class hello { public static

More information

PHP and XML. Brian J. Stafford, Mark McIntyre and Fraser Gallop

PHP and XML. Brian J. Stafford, Mark McIntyre and Fraser Gallop What is PHP? PHP and XML Brian J. Stafford, Mark McIntyre and Fraser Gallop PHP is a server-side tool for creating dynamic web pages. PHP pages consist of both HTML and program logic. One of the advantages

More information

Certified PHP/MySQL Web Developer Course

Certified PHP/MySQL Web Developer Course Course Duration : 3 Months (120 Hours) Day 1 Introduction to PHP 1.PHP web architecture 2.PHP wamp server installation 3.First PHP program 4.HTML with php 5.Comments and PHP manual usage Day 2 Variables,

More information

Install Java Development Kit (JDK) 1.8 http://www.oracle.com/technetwork/java/javase/downloads/index.html

Install Java Development Kit (JDK) 1.8 http://www.oracle.com/technetwork/java/javase/downloads/index.html CS 259: Data Structures with Java Hello World with the IntelliJ IDE Instructor: Joel Castellanos e-mail: joel.unm.edu Web: http://cs.unm.edu/~joel/ Office: Farris Engineering Center 319 8/19/2015 Install

More information

Practical Guided Tour of Symfony

Practical Guided Tour of Symfony Practical Guided Tour of Symfony Standalone Components DependencyInjection EventDispatcher HttpFoundation DomCrawler ClassLoader BrowserKit CssSelector Filesystem HttpKernel Templating Translation

More information

Search and Replace in SAS Data Sets thru GUI

Search and Replace in SAS Data Sets thru GUI Search and Replace in SAS Data Sets thru GUI Edmond Cheng, Bureau of Labor Statistics, Washington, DC ABSTRACT In managing data with SAS /BASE software, performing a search and replace is not a straight

More information

Web development... the server side (of the force)

Web 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 information

Mobile memory dumps, MSAB and MPE+ Data collection Information recovery Analysis and interpretation of results

Mobile memory dumps, MSAB and MPE+ Data collection Information recovery Analysis and interpretation of results Mobile memory dumps, MSAB and MPE+ Data collection Information recovery Analysis and interpretation of results Physical Extraction Physical extraction involves either Removing chips from circuit board

More information

Cross 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 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 information

CSCI110: Examination information.

CSCI110: Examination information. CSCI110: Examination information. The exam for CSCI110 will consist of short answer questions. Most of them will require a couple of sentences of explanation of a concept covered in lectures or practical

More information

BASH Scripting. A bash script may consist of nothing but a series of command lines, e.g. The following helloworld.sh script simply does an echo.

BASH Scripting. A bash script may consist of nothing but a series of command lines, e.g. The following helloworld.sh script simply does an echo. BASH Scripting bash is great for simple scripts that automate things you would otherwise by typing on the command line. Your command line skills will carry over to bash scripting and vice versa. bash comments

More information

The C Programming Language course syllabus associate level

The 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 information

Chances of changes in Magento 2.0 extension development. Gerhard Fobe Netresearch App Factory

Chances of changes in Magento 2.0 extension development. Gerhard Fobe Netresearch App Factory Chances of changes in Magento 2.0 extension development Gerhard Fobe Netresearch App Factory Agenda Short questions Technical changes in Magento 2.0 extensions What will happens in the next time Chances

More information

sqlpp11 - An SQL Library Worthy of Modern C++

sqlpp11 - An SQL Library Worthy of Modern C++ 2014-09-11 Code samples Prefer compile-time and link-time errors to runtime errors Scott Meyers, Effective C++ (2nd Edition) Code samples Let s look at some code String based In the talk, we looked at

More information

Moving from CS 61A Scheme to CS 61B Java

Moving from CS 61A Scheme to CS 61B Java Moving from CS 61A Scheme to CS 61B Java Introduction Java is an object-oriented language. This document describes some of the differences between object-oriented programming in Scheme (which we hope you

More information

PHP AdWords API Lib Quick Start

PHP AdWords API Lib Quick Start PHP AdWords API Lib Quick Start 1. What is PHP AdWords API? PHP AdWords API Lib is middle tier library implementing the access to the Google AdWords API from your PHP products and applications. With it's

More information

Lab 5 Introduction to Java Scripts

Lab 5 Introduction to Java Scripts King Abdul-Aziz University Faculty of Computing and Information Technology Department of Information Technology Internet Applications CPIT405 Lab Instructor: Akbar Badhusha MOHIDEEN Lab 5 Introduction

More information

English 1. Deutsch 10. Français 19 中 文 简 体 46

English 1. Deutsch 10. Français 19 中 文 简 体 46 English 1 Deutsch 10 Français 19 28 37 中 文 简 体 46 English A new way to enjoy photography Product Website For the latest product information and useful hints and tips on using this product, see the following

More information

Learning Remote Control Framework ADD-ON for LabVIEW

Learning Remote Control Framework ADD-ON for LabVIEW Learning Remote Control Framework ADD-ON for LabVIEW TOOLS for SMART MINDS Abstract This document introduces the RCF (Remote Control Framework) ADD-ON for LabVIEW. Purpose of this article and the documents

More information

Reliable Mitigation of DOM-based XSS

Reliable Mitigation of DOM-based XSS Intro XSS Implementation Evaluation Q&A Reliable Mitigation of DOM-based XSS Tobias Mueller 2014-09-07 1 / 39 Intro XSS Implementation Evaluation Q&A About me The results Motivation about:me MSc. cand.

More information

Presto User s Manual. Collobos Software Version 1.6. 2014 Collobos Software, Inc http://www.collobos.com

Presto User s Manual. Collobos Software Version 1.6. 2014 Collobos Software, Inc http://www.collobos.com Presto User s Manual Collobos Software Version 1.6 2014 Collobos Software, Inc http://www.collobos.com Welcome To Presto 3 System Requirements 3 How It Works 4 Presto Service 4 Presto 4 Printers 5 Virtual

More information

PHP Tutorial From beginner to master

PHP 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 information

g!mobile 6 Android App Android 4.0 or above -- See Android Devices table for compatibility information Document Revision Date: 2/14/2013

g!mobile 6 Android App Android 4.0 or above -- See Android Devices table for compatibility information Document Revision Date: 2/14/2013 Integration Note g!mobile 6 Android App Manufacturer: Model Number(s): Various Android SmartPhones and Tablets Minimum Core Module Version: g! 6.0 g!mobile 6 App or later Comments: Android 4.0 or above

More information

Visualizing Software Projects in JavaScript

Visualizing Software Projects in JavaScript Visualizing Software Projects in JavaScript Tim Disney Abstract Visualization techniques have been used to help programmers deepen their understanding of large software projects. However the existing visualization

More information

Opera System Configuration for Apps

Opera System Configuration for Apps Opera System Configuration for Apps IPhone App Installation and Use Specifications are subject to change without notice. Facilities described may or may not be supported by your network. Opera 240, Opera

More information

orrelog SNMP Trap Monitor Software Users Manual

orrelog SNMP Trap Monitor Software Users Manual orrelog SNMP Trap Monitor Software Users Manual http://www.correlog.com mailto:[email protected] CorreLog, SNMP Trap Monitor Software Manual Copyright 2008-2015, CorreLog, Inc. All rights reserved. No

More information

Laravel + AngularJS - Contact Manager

Laravel + AngularJS - Contact Manager Laravel + AngularJS - Contact Manager To complete this workshop you will need to have the following installed and working on your machine. Composer or Laravel Installer Larvel's Homestead The following

More information

A REST API for Arduino & the CC3000 WiFi Chip

A REST API for Arduino & the CC3000 WiFi Chip A REST API for Arduino & the CC3000 WiFi Chip Created by Marc-Olivier Schwartz Last updated on 2014-04-22 03:01:12 PM EDT Guide Contents Guide Contents Overview Hardware configuration Installing the library

More information

Illustration 1: Diagram of program function and data flow

Illustration 1: Diagram of program function and data flow The contract called for creation of a random access database of plumbing shops within the near perimeter of FIU Engineering school. The database features a rating number from 1-10 to offer a guideline

More information

APEX_ITEM and Dynamic Tabular Forms

APEX_ITEM and Dynamic Tabular Forms APEX_ITEM and Dynamic Tabular Forms Greg Jarmiolowski SQLPrompt LLC Agenda Tabular Form Creation Tabular Form Post Processing Built-ins Building Forms with APEX_ITEM Global Arrays Custom Post processing

More information

Two Factor Authentication (TFA; 2FA) is a security process in which two methods of authentication are used to verify who you are.

Two Factor Authentication (TFA; 2FA) is a security process in which two methods of authentication are used to verify who you are. Two Factor Authentication Two Factor Authentication (TFA; 2FA) is a security process in which two methods of authentication are used to verify who you are. For example, one method currently utilized within

More information

ipad Basics Tips from the October 16, 2014 ipad Basics Class Tip No. 1 Apple ID Where is it found? Settings>iCloud>Apple ID

ipad Basics Tips from the October 16, 2014 ipad Basics Class Tip No. 1 Apple ID Where is it found? Settings>iCloud>Apple ID ipad Basics Tips from the October 16, 2014 ipad Basics Class Tip No. 1 Apple ID Where is it found? Settings>iCloud>Apple ID 1 2 At the ipad home screen tap on the Settings tab. Now tap on the icloud file

More information

Web Development using PHP (WD_PHP) Duration 1.5 months

Web 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 information

2 Tablet Stands. ASM-iSTAND ipad STAND. ASM-iMINISTAND ipad MINI STAND ASM-TABSTAND TABLET STAND

2 Tablet Stands. ASM-iSTAND ipad STAND. ASM-iMINISTAND ipad MINI STAND ASM-TABSTAND TABLET STAND ASM-iSTAND ipad STAND Compatible with ipad 2 and New ipad 360 Degrees of Rotation Portable and Easy to Use ASM-iMINISTAND ipad MINI STAND Compatible with ipad Mini 360 Degrees of Rotation Portable and

More information

Mobile Data Collection with Avenza PDF Maps

Mobile Data Collection with Avenza PDF Maps Mobile Data Collection with Avenza PDF Maps Installing the App The Avenza PDF Maps app v2.0.1 should already be installed on your device. If not, you can search Avenza in the App store to install it. Please

More information

Certified PHP Developer VS-1054

Certified 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 information

itunes: About ios backups

itunes: About ios backups itunes: About ios backups itunes can back up your settings, Messages, Camera Roll, documents, saved games, and other data. Backups don't contain content synced to the device, such as movies, music, podcasts,

More information

Quick Start Guide: ios and Android Iridium GO! App

Quick Start Guide: ios and Android Iridium GO! App Quick Start Guide: ios and Android Iridium GO! App Wi-Fi connectivity Your smartphone or tablet device MUST be connected via Wi-Fi to Iridium GO! (ex. Iridium-06088 ) in order for the Iridium GO! application

More information