Università degli Studi di Parma. Basi di Dati e Web. Introduction to CodeIgniter 14/01/2014. Basi di Dati e Web. martedì 14 gennaio 14

Size: px
Start display at page:

Download "Università degli Studi di Parma. Basi di Dati e Web. Introduction to CodeIgniter 14/01/2014. Basi di Dati e Web. martedì 14 gennaio 14"

Transcription

1 Introduction to CodeIgniter 14/01/ /2014 Parma

2 CodeIgniter CodeIgniter is an Application Framework to build web applications using PHP CodeIgniter provides a rich set of libraries for commonly needed tasks, as well as a simple interface and logical structure to access these libraries It allows to develop projects much faster than if writing code from scratch It can be downloaded for free at CodeIgniter is installed by: unzipping the package. uploading the CodeIgniter folders and files to your server; normally the index.php file will be at your root 2013/2014 Parma

3 ModelViewController CodeIgniter uses the ModelViewController development pattern MVC is a software approach that separates application logic from presentation MVC divides code into three components: the Model represents data structures: typically model classes will contain functions that help you retrieve, insert, and update information in your database. the View is the information that is being presented to a user: a view will normally be a web page, but in CodeIgniter, a view can also be a page fragment like a header or footer the Controller serves as an intermediary between the Model, the View, and any other resources needed to process the HTTP request and generate a web page. CodeIgniter does not require a model (if no access to a database is needed, for instance) 2013/2014 Parma

4 CodeIgniter URLs URLs in CodeIgniter are designed to be searchengine and human friendly CodeIgniter uses a segmentbased approach: /2014 Parma

5 CodeIgniter URLs URLs in CodeIgniter are designed to be searchengine and human friendly CodeIgniter uses a segmentbased approach: example.com is the website domain 2013/2014 Parma

6 CodeIgniter URLs URLs in CodeIgniter are designed to be searchengine and human friendly CodeIgniter uses a segmentbased approach: example.com is the website domain index.php is the CodeIgniter engine file, residing in the installation folder of CodeIgniter 2013/2014 Parma

7 CodeIgniter URLs URLs in CodeIgniter are designed to be searchengine and human friendly CodeIgniter uses a segmentbased approach: example.com is the website domain index.php is the CodeIgniter engine file, residing in the installation folder of CodeIgniter news is the (lowercase) name of the controller s class 2013/2014 Parma

8 CodeIgniter URLs URLs in CodeIgniter are designed to be searchengine and human friendly CodeIgniter uses a segmentbased approach: example.com is the website domain index.php is the CodeIgniter engine file, residing in the installation folder of CodeIgniter news is the (lowercase) name of the controller s class article is one of the controller s methods 2013/2014 Parma

9 CodeIgniter URLs URLs in CodeIgniter are designed to be searchengine and human friendly CodeIgniter uses a segmentbased approach: example.com is the website domain index.php is the CodeIgniter engine file, residing in the installation folder of CodeIgniter news is the (lowercase) name of the controller s class article is one of the controller s methods is the argument of the method 2013/2014 Parma

10 CodeIgniter URLs URLs in CodeIgniter are designed to be searchengine and human friendly CodeIgniter uses a segmentbased approach: example.com is the website domain index.php is the CodeIgniter engine file, residing in the installation folder of CodeIgniter news is the (lowercase) name of the controller s class article is one of the controller s methods is the argument of the method other arguments (in exact order) will be written after this, separated by a slash 2013/2014 Parma

11 Application Flow Chart 1. The index.php serves as the front controller, initializing the base resources needed to run CodeIgniter 2. The Router examines the HTTP request to determine what should be done with it 3. If a cache file exists, it is sent directly to the browser, bypassing the normal system execution 4. Before the application controller is loaded, the HTTP request and any user submitted data is filtered for security 5. The Controller loads the model, core libraries, helpers, and any other resources needed to process the specific request 6. The finalized View is rendered then sent to the web browser to be seen. If caching is enabled, the view is cached first so that on subsequent requests it can be served 2013/2014 Parma

12 Database access CodeIgniter comes with a fullfeatured and very fast abstracted database class that supports both traditional structures and Active Record patterns The Database class already implements all the details about connecting to the database and performing queries In order to use the Database class, it must be loaded: $this>load>database(); This loads the class based on the settings in the application/config/database.php file Once loaded, the Database class can be accessed using $this>db 2013/2014 Parma

13 Database configuration CodeIgniter has a config file to store database connection values (username, password, database name, etc.) The config file is located at application/config/database.php $db['default']['hostname'] = "localhost"; $db['default']['username'] = "root"; $db['default']['password'] = ""; $db['default']['database'] = "database_name"; $db['default']['dbdriver'] = "mysql"; $db['default']['dbprefix'] = ""; $db['default']['pconnect'] = TRUE; $db['default']['db_debug'] = FALSE; $db['default']['cache_on'] = FALSE; $db['default']['cachedir'] = ""; $db['default']['char_set'] = "utf8"; $db['default']['dbcollat'] = "utf8_general_ci"; $db['default']['swap_pre'] = ""; $db['default']['autoinit'] = TRUE; $db['default']['stricton'] = FALSE; 2013/2014 Parma

14 Active Record class CodeIgniter uses a modified version of the Active Record Database Pattern The Active Record pattern allows information to be retrieved, inserted, and updated in database with minimal scripting Benefits to using the Active Record: database independent applications, since the query syntax is generated by each database adapter safer queries, since the values are escaped automatically by the system 2013/2014 Parma

15 Selecting data $this>db>get(); runs the selection query and returns the result the first argument (optional) is the table name, if missing must be used with the $this>db>from() function accepts two other optional arguments, for LIMIT clause $this>db>select(); permits to write the SELECT portion of your query: $this>db>select('title, content, date'); $this>db> select_max(), select_min(), select_avg(), select_sum() argument is the column to use for aggregate function $this>db>from(); Permits to write the FROM portion of your query argument is the table name 2013/2014 Parma

16 Selecting data $this>db>join(); Permits to write the JOIN portion of your query the first argument is the table name, the second is the join condition must be used in conjunction with the $this>db>from() function $this>db>where(); enables to set WHERE clauses $this>db>where('name', $name); // Produces: WHERE name = 'Joe' $this>db>where('id <', $id); // Produces: WHERE id < 45 $this>db>where(array('name' => $name, 'title' => $title)); // Produces: WHERE name = 'Joe' AND title = 'boss' $this>db>where("name='joe' AND status='boss'"); // same as above 2013/2014 Parma

17 Selecting data Other functions for selecting data: $this>db>distinct() $this>db>group_by() $this>db>having() $this>db>limit() Many other functions are provided to create complex queries: refer to the user guide 2013/2014 Parma

18 Retrieving data The get() function returns the results in a variable: $query = $this>db>get( user ); This variable is an object that has a number of methods that can be used to get access to the returned rows result(): returns the query result as an array of objects or an empty array on failure $query = $this>db>get('user'); foreach ($query>result() as $user){ echo $user>name; } result_array(): returns the query result as an array of associative arrays $query = $this>db>get('user'); foreach ($query>result_array() as $user){ echo $user['name']; } 2013/2014 Parma

19 Retrieving data row() and row_array(): return a single result row as an object or as associative array, respectively num_rows(): returns the number of rows returned by the query 2013/2014 Parma

20 Inserting data $this>db>insert(); generates an insert string based on the data supplied, and runs the query takes an optional argument that can be an array or object (if missing, must be used in conjunction with the set() method) $data = array( 'title' => 'My title', 'name' => 'My Name', 'date' => 'My date' ); $this>db>insert('mytable', $data); // Produces: INSERT INTO mytable (title, name, date) VALUES ('My title', 'My name', 'My date') 2013/2014 Parma

21 Inserting data $this>db>set(); set values for inserts or updates first argument is the column name, the second is the value an optional boolean third parameter can be used to prevent escaping (set to FALSE) $this>db>set('name', $name); $this>db>insert('mytable'); // Produces: INSERT INTO mytable (name) VALUES ('{$name}') $this>db>set('time', 'NOW()', FALSE); $this>db>insert('mytable'); // gives INSERT INTO mytable (time) VALUES (NOW()) 2013/2014 Parma

22 Updating data $this>db>update(); generates an update string based on the data supplied, and runs the query first argument is the name of the table takes an optional argument that can be an array or object (if missing, must be used in conjunction with the set() method) a call to where() can be used to set the WHERE clause $data = array( ); 'title' => $title, 'name' => $name, 'date' => $date $this>db>where('id', $id); $this>db>update('mytable', $data); // UPDATE mytable // SET title = '{$title}', name = '{$name}', date = '{$date}' // WHERE id = $id 2013/2014 Parma

23 Deleting data $this>db>delete(); generates a delete SQL string and runs the query first argument is the name of the table second parameter (optional) is the where clause (if missing, must be used in conjunction with the where() method) $this>db>delete('mytable', array('id' => $id)); // Produces: // DELETE FROM mytable // WHERE id = $id 2013/2014 Parma

24 Method Chaining Method chaining allows to simplify your syntax by connecting multiple functions It can be simpler to read but harder to work with, it is up to the developer to choose $this>db>select('title')>from('mytable')>where('id', $id)>limit(10, 20); $query = $this>db>get(); 2013/2014 Parma

25 CodeIgniter CodeIgniter comes with a great user guide that documents all the features of the framework It is included in the home of every CodeIgniter installation Online: /2014 Parma

26 Introduction to CodeIgniter 14/01/ /2014 Parma

Hello everyone! Page 1. Your folder should look like this. To start with Run your XAMPP app and start your Apache and MySQL.

Hello everyone! Page 1. Your folder should look like this. To start with Run your XAMPP app and start your Apache and MySQL. Hello everyone! Welcome to our PHP + MySQL (Easy to learn) E.T.L. free online course Hope you have installed your XAMPP? And you have created your forms inside the studio file in the htdocs folder using

More information

The connection has timed out

The connection has timed out 1 of 7 2/17/2018, 7:46 AM Mukesh Chapagain Blog PHP Magento jquery SQL Wordpress Joomla Programming & Tutorial HOME ABOUT CONTACT ADVERTISE ARCHIVES CATEGORIES MAGENTO Home» PHP PHP: CRUD (Add, Edit, Delete,

More information

Developing Online Databases and Serving Biological Research Data

Developing Online Databases and Serving Biological Research Data Developing Online Databases and Serving Biological Research Data 1 Last Time PHP scripts can be used to create better web interfaces for specific database schemas If you want something more user friendly

More information

Web Application Development (WAD) V th Sem BBAITM (Unit 4) By: Binit Patel

Web Application Development (WAD) V th Sem BBAITM (Unit 4) By: Binit Patel Web Application Development (WAD) V th Sem BBAITM (Unit 4) By: Binit Patel Working with Forms: A very popular way to make a web site interactive is using HTML based forms by the site. Using HTML forms,

More information

CCMS Installation Instructions

CCMS Installation Instructions CCMS Installation Instructions August 2012 Rev. 1.8.0 Ceedo Technologies, Ltd. 21 Hamelacha St. P.O. Box 11695 Park Afek, Rosh-Haayin, Israel 48091 T +972-7-322-322-00 www.ceedo.com 2012 Ceedo Technologies,

More information

PHP INTERVIEW QUESTION-ANSWERS

PHP INTERVIEW QUESTION-ANSWERS 1. What is PHP? PHP (recursive acronym for PHP: Hypertext Preprocessor) is the most widely used open source scripting language, majorly used for web-development and application development and can be embedded

More information

Download and Installation Instructions: After WAMP Server download start the installation:

Download and Installation Instructions: After WAMP Server download start the installation: SET UP Instruction to Set Up a WAMP SERVER with MySQL and to Create a Database in My SQL and Connect from your PHP Script Download WAMP Server V 3.0 or higher from: https://sourceforge.net/projects/wampserver/

More information

StockStatusMonitoring_Technical Documentation

StockStatusMonitoring_Technical Documentation StockStatusMonitoring_Technical Documentation Release 1.0 SCI-ezzy August 05, 2015 Contents 1 Table of contents 3 1.1 Overview................................................. 3 1.2 Software Environment

More information

Using PHP with MYSQL

Using PHP with MYSQL Using PHP with MYSQL PHP & MYSQL So far you've learned the theory behind relational databases and worked directly with MySQL through the mysql command-line tool. Now it's time to get your PHP scripts talking

More information

MySQL: Access Via PHP

MySQL: Access Via PHP MySQL: Access Via PHP CISC 282 November 15, 2017 phpmyadmin: Login http://cisc282.caslab. queensu.ca/phpmyadmin/ Use your NetID and CISC 282 password to log in 2 phpmyadmin: Select DB Clicking on this

More information

Development Technologies. Agenda: phpmyadmin 2/20/2016. phpmyadmin MySQLi. Before you can put your data into a table, that table should exist.

Development Technologies. Agenda: phpmyadmin 2/20/2016. phpmyadmin MySQLi. Before you can put your data into a table, that table should exist. CIT 736: Internet and Web Development Technologies Lecture 10 Dr. Lupiana, DM FCIM, Institute of Finance Management Semester 1, 2016 Agenda: phpmyadmin MySQLi phpmyadmin Before you can put your data into

More information

Database Connectivity using PHP Some Points to Remember:

Database Connectivity using PHP Some Points to Remember: Database Connectivity using PHP Some Points to Remember: 1. PHP has a boolean datatype which can have 2 values: true or false. However, in PHP, the number 0 (zero) is also considered as equivalent to False.

More information

Mastering phpmyadmiri 3.4 for

Mastering phpmyadmiri 3.4 for Mastering phpmyadmiri 3.4 for Effective MySQL Management A complete guide to getting started with phpmyadmin 3.4 and mastering its features Marc Delisle [ t]open so 1 I community experience c PUBLISHING

More information

Web Security. Attacks on Servers 11/6/2017 1

Web Security. Attacks on Servers 11/6/2017 1 Web Security Attacks on Servers 11/6/2017 1 Server side Scripting Javascript code is executed on the client side on a user s web browser Server side code is executed on the server side. The server side

More information

PHP: Cookies, Sessions, Databases. CS174. Chris Pollett. Sep 24, 2008.

PHP: Cookies, Sessions, Databases. CS174. Chris Pollett. Sep 24, 2008. PHP: Cookies, Sessions, Databases. CS174. Chris Pollett. Sep 24, 2008. Outline. How cookies work. Cookies in PHP. Sessions. Databases. Cookies. Sometimes it is useful to remember a client when it comes

More information

CHAPTER 10. Connecting to Databases within PHP

CHAPTER 10. Connecting to Databases within PHP CHAPTER 10 Connecting to Databases within PHP CHAPTER OBJECTIVES Get a connection to a MySQL database from within PHP Use a particular database Send a query to the database Parse the query results Check

More information

Configuration Setting

Configuration Setting Hello friends, this is my first blog on Codeigniter framework. In this, we are going to make login, signup and user listing system. Firstly, install the Codeigniter framework either in your local server

More information

Web Security IV: Cross-Site Attacks

Web Security IV: Cross-Site Attacks 1 Web Security IV: Cross-Site Attacks Chengyu Song Slides modified from Dawn Song 2 Administrivia Lab3 New terminator: http://www.cs.ucr.edu/~csong/sec/17/l/new_terminator Bonus for solving the old one

More information

IELM 511 Information Systems Design Labs 5 and 6. DB creation and Population

IELM 511 Information Systems Design Labs 5 and 6. DB creation and Population IELM 511 Information Systems Design Labs 5 and 6. DB creation and Population In this lab, your objective is to learn the basics of creating and managing a DB system. One way to interact with the DBMS (MySQL)

More information

PHPRad. PHPRad At a Glance. This tutorial will show you basic functionalities in PHPRad and

PHPRad. PHPRad At a Glance. This tutorial will show you basic functionalities in PHPRad and PHPRad PHPRad At a Glance. This tutorial will show you basic functionalities in PHPRad and Getting Started Creating New Project To create new Project. Just click on the button. Fill In Project properties

More information

Get in Touch Module 1 - Core PHP XHTML

Get in Touch Module 1 - Core PHP XHTML PHP/MYSQL (Basic + Advanced) Web Technologies Module 1 - Core PHP XHTML What is HTML? Use of HTML. Difference between HTML, XHTML and DHTML. Basic HTML tags. Creating Forms with HTML. Understanding Web

More information

Building Block Installation - Admins

Building Block Installation - Admins Building Block Installation - Admins Overview To use your Blackboard Server with Panopto, you first need to install the Panopto Building Block on your Blackboard server. You then need to add Blackboard

More information

PHP Reference. To access MySQL manually, run the following command on the machine, called Sources, where MySQL and PhP have been installed:

PHP Reference. To access MySQL manually, run the following command on the machine, called Sources, where MySQL and PhP have been installed: PHP Reference 1 Preface This tutorial is designed to teach you all the PHP commands and constructs you need to complete your PHP project assignment. It is assumed that you have never programmed in PHP

More information

WebMatrix: Why PHP Developers Should Pay Attention

WebMatrix: Why PHP Developers Should Pay Attention WebMatrix: Why PHP Developers Should Pay Attention Gone are the days when PHP developers had to turn away business because the clients used Windows Servers. If you are a PHP developer and have been looking

More information

Title: Tech Training Certificate: Ace of Initiative Program. Presented By Rajmahendran P Business analyst & IT Manger

Title: Tech Training Certificate: Ace of Initiative Program. Presented By Rajmahendran P Business analyst & IT Manger Title: Tech Training Certificate: Ace of Initiative Program Presented By Rajmahendran P Business analyst & IT Manger Why PHP important? Within 4 to 6 year Every Business will have Website Every Shop Will

More information

CERTIFICATE IN WEB PROGRAMMING

CERTIFICATE IN WEB PROGRAMMING COURSE DURATION: 6 MONTHS CONTENTS : CERTIFICATE IN WEB PROGRAMMING 1. PROGRAMMING IN C and C++ Language 2. HTML/CSS and JavaScript 3. PHP and MySQL 4. Project on Development of Web Application 1. PROGRAMMING

More information

PHP. MIT 6.470, IAP 2010 Yafim Landa

PHP. MIT 6.470, IAP 2010 Yafim Landa PHP MIT 6.470, IAP 2010 Yafim Landa (landa@mit.edu) LAMP We ll use Linux, Apache, MySQL, and PHP for this course There are alternatives Windows with IIS and ASP Java with Tomcat Other database systems

More information

K-RATE INSTALLATION MANUAL

K-RATE INSTALLATION MANUAL K-RATE INSTALLATION MANUAL K-Rate Installation Manual Contents SYSTEM REQUIREMENTS... 3 1. DOWNLOADING K-RATE... 4 STEP 1: LOGIN TO YOUR MEMBER ACCOUNT... 4 STEP 2: ENTER DOMAIN NAME... 5 STEP 3: DOWNLOAD

More information

Princess Nourah bint Abdulrahman University. Computer Sciences Department

Princess Nourah bint Abdulrahman University. Computer Sciences Department Princess Nourah bint Abdulrahman University Computer Sciences Department 1 And use http://www.w3schools.com/ PHP Part 3 Objectives Creating a new MySQL Database using Create & Check connection with Database

More information

A Web-Based Introduction

A Web-Based Introduction A Web-Based Introduction to Programming Essential Algorithms, Syntax, and Control Structures Using PHP, HTML, and MySQL Third Edition Mike O'Kane Carolina Academic Press Durham, North Carolina Contents

More information

Apache, Php, MySql Configuration

Apache, Php, MySql Configuration 1.0 Introduction Apache, Php, MySql Configuration You will be guided to install the Apache web server and PHP and then configure them with MySQL database. There are several pre-requisite tasks MUST be

More information

Developing ASP.NET MVC 5 Web Applications. Course Outline

Developing ASP.NET MVC 5 Web Applications. Course Outline Developing ASP.NET MVC 5 Web Applications Course Outline Module 1: Exploring ASP.NET MVC 5 The goal of this module is to outline to the students the components of the Microsoft Web Technologies stack,

More information

Codeigniter interview questions and answers

Codeigniter interview questions and answers Codeigniter interview questions and answers For freshers and experienced Content Ref :pcds.co.in only for use Education and Job purpose, not for official purpose. : 1 1 What is codeigniter? Codeigniter

More information

Helpline No WhatsApp No.:

Helpline No WhatsApp No.: TRAINING BASKET QUALIFY FOR TOMORROW Helpline No. 9015887887 WhatsApp No.: 9899080002 Regd. Off. Plot No. A-40, Unit 301/302, Tower A, 3rd Floor I-Thum Tower Near Corenthum Tower, Sector-62, Noida - 201309

More information

Web Development & SEO (Summer Training Program) 4 Weeks/30 Days

Web Development & SEO (Summer Training Program) 4 Weeks/30 Days (Summer Training Program) 4 Weeks/30 Days PRESENTED BY RoboSpecies Technologies Pvt. Ltd. Office: D-66, First Floor, Sector- 07, Noida, UP Contact us: Email: stp@robospecies.com Website: www.robospecies.com

More information

This program assumes you have basic knowledge or htaccess redirection.

This program assumes you have basic knowledge or htaccess redirection. Instructions Intro 404bypass is designed to help you avoid 404 errors by generating a redirect file for your website. This is especially helpful when a redesign leads to pages being assigned a new URL.

More information

Developing Online Databases and Serving Biological Research Data

Developing Online Databases and Serving Biological Research Data Developing Online Databases and Serving Biological Research Data 1 Last Time HTML Hypertext Markup Language Used to build web pages Static, and can't change the way it presents itself based off of user

More information

Online CD Library (OCDL):

Online CD Library (OCDL): Online CD Library (OCDL): An Open Source Software Initiative for CD Content Management SOFTWARE MANUAL Prepared by Mr. M.Manivannan Information Analyst Central Library Indian Institute of Technology Kharagpur

More information

Developing ASP.Net MVC 4 Web Application

Developing ASP.Net MVC 4 Web Application Developing ASP.Net MVC 4 Web Application About this Course In this course, students will learn to develop advanced ASP.NET MVC applications using.net Framework 4.5 tools and technologies. The focus will

More information

SBCC Web File System - Xythos

SBCC Web File System - Xythos Table of Contents Table of Contents...1 Purpose...1 Login Procedure...1 Creating and Sharing a Web Folder for MAT153...2 Dreamweaver Remote Info...4 I Forgot My Pipeline Credentials...6 Purpose This purpose

More information

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer. Laravel

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer. Laravel About the Tutorial Laravel is a powerful MVC PHP framework, designed for developers who need a simple and elegant toolkit to create full-featured web applications. Laravel was created by Taylor Otwell.

More information

COURSE 20486B: DEVELOPING ASP.NET MVC 4 WEB APPLICATIONS

COURSE 20486B: DEVELOPING ASP.NET MVC 4 WEB APPLICATIONS ABOUT THIS COURSE In this course, students will learn to develop advanced ASP.NET MVC applications using.net Framework 4.5 tools and technologies. The focus will be on coding activities that enhance the

More information

Php And Mysql Manual Simple Yet Powerful Web Programming

Php And Mysql Manual Simple Yet Powerful Web Programming Php And Mysql Manual Simple Yet Powerful Web Programming It allows you to create anything from a simpledownload EBOOK. Beginning PHP 6, Apache, MySQL 6 Web Development Free Ebook Offering a gentle learning

More information

Microsoft Access Illustrated. Unit B: Building and Using Queries

Microsoft Access Illustrated. Unit B: Building and Using Queries Microsoft Access 2010- Illustrated Unit B: Building and Using Queries Objectives Use the Query Wizard Work with data in a query Use Query Design View Sort and find data (continued) Microsoft Office 2010-Illustrated

More information

More loops. Control structures / flow control. while loops. Loops / Iteration / doing things over and over and over and over...

More loops. Control structures / flow control. while loops. Loops / Iteration / doing things over and over and over and over... Control structures / flow control More loops while loops if... else Switch for loops while... do.. do... while... Much of this material is explained in PHP programming 2nd Ed. Chap 2 Control structures

More information

Zend Studio 3.0. Quick Start Guide

Zend Studio 3.0. Quick Start Guide Zend Studio 3.0 This walks you through the Zend Studio 3.0 major features, helping you to get a general knowledge on the most important capabilities of the application. A more complete Information Center

More information

Application Design and Development: October 30

Application Design and Development: October 30 M149: Database Systems Winter 2018 Lecturer: Panagiotis Liakos Application Design and Development: October 30 1 Applications Programs and User Interfaces very few people use a query language to interact

More information

HOMELESS INDIVIDUALS AND FAMILIES INFORMATION SYSTEM HIFIS 4.0 TECHNICAL ARCHITECTURE AND DEPLOYMENT REFERENCE

HOMELESS INDIVIDUALS AND FAMILIES INFORMATION SYSTEM HIFIS 4.0 TECHNICAL ARCHITECTURE AND DEPLOYMENT REFERENCE HOMELESS INDIVIDUALS AND FAMILIES INFORMATION SYSTEM HIFIS 4.0 TECHNICAL ARCHITECTURE AND DEPLOYMENT REFERENCE HIFIS Development Team May 16, 2014 Contents INTRODUCTION... 2 HIFIS 4 SYSTEM DESIGN... 3

More information

Developing ASP.NET MVC 4 Web Applications

Developing ASP.NET MVC 4 Web Applications Developing ASP.NET MVC 4 Web Applications Course 20486B; 5 days, Instructor-led Course Description In this course, students will learn to develop advanced ASP.NET MVC applications using.net Framework 4.5

More information

Chapter 7 PHP Files & MySQL Databases

Chapter 7 PHP Files & MySQL Databases Chapter 7 PHP Files & MySQL Databases At the end of the previous chapter, a simple calendar was displayed with an appointment. This demonstrated again how forms can be used to pass data from one page to

More information

MYSQL DATABASE ACCESS WITH PHP

MYSQL DATABASE ACCESS WITH PHP MYSQL DATABASE ACCESS WITH PHP Fall 2010 CSCI 2910 Server-Side Web Programming Typical web application interaction Database Server 3 tiered architecture Security in this interaction is critical Web Server

More information

Only applies where the starting URL specifies a starting location other than the root folder. For example:

Only applies where the starting URL specifies a starting location other than the root folder. For example: Allows you to set crawling rules for a Website Index. Character Encoding Allow Navigation Above Starting Directory Only applies where the starting URL specifies a starting location other than the root

More information

Mediascope Programmers Guide

Mediascope Programmers Guide Mediascope Programmers Guide Table of Contents Problem Definition... 2 Overview... 2 Architecture of Mediascope... 2 Mediascope Front End... 2 Mediascope Intermediate Layer/Back End... 2 Language/Platform

More information

DB2 Web Query (REST based) Application Extension. Usage Instructions

DB2 Web Query (REST based) Application Extension. Usage Instructions DB2 Web Query (REST based) Application Extension Usage Instructions Updated March 29, 2016 Page 1 1 Overview... 4 2 Initial Setup... 5 3 Using the Extension... 6 3.1 Modes of use... 6 3.1.1 Browse Mode...

More information

PHP Development - Introduction

PHP Development - Introduction PHP Development - Introduction Php Hypertext Processor PHP stands for PHP: Hypertext Preprocessor PHP is a server-side scripting language, like ASP PHP scripts are executed on the server PHP supports many

More information

Adlib PDF FileNet Connector Guide PRODUCT VERSION: 5.1

Adlib PDF FileNet Connector Guide PRODUCT VERSION: 5.1 Adlib PDF FileNet Connector Guide PRODUCT VERSION: 5.1 REVISION DATE: January 2014 Copyright 2014 Adlib This manual, and the Adlib products to which it refers, is furnished under license and may be used

More information

Web Security: Vulnerabilities & Attacks

Web Security: Vulnerabilities & Attacks Computer Security Course. Song Dawn Web Security: Vulnerabilities & Attacks Cross-site Scripting What is Cross-site Scripting (XSS)? Vulnerability in web application that enables attackers to inject client-side

More information

Locate your Advanced Tools and Applications

Locate your Advanced Tools and Applications MySQL Manager is a web based MySQL client that allows you to create and manipulate a maximum of two MySQL databases. MySQL Manager is designed for advanced users.. 1 Contents Locate your Advanced Tools

More information

Getting Started with the Bullhorn SOAP API and C#/.NET

Getting Started with the Bullhorn SOAP API and C#/.NET Getting Started with the Bullhorn SOAP API and C#/.NET Introduction This tutorial is for developers who develop custom applications that use the Bullhorn SOAP API and C#. You develop a sample application

More information

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer. Joomla

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer. Joomla About the Tutorial Joomla is an open source Content Management System (CMS), which is used to build websites and online applications. It is free and extendable which is separated into frontend templates

More information

Host at 2freehosting.Com

Host at 2freehosting.Com Host at 2freehosting.Com This document will help you to upload your website to a free website hosting account at www.2freehosting.com/. Follow all the steps carefully in the order that they appear to ensure

More information

Lecture 7: Web hacking 3, SQL injection, Xpath injection, Server side template injection, File inclusion

Lecture 7: Web hacking 3, SQL injection, Xpath injection, Server side template injection, File inclusion IN5290 Ethical Hacking Lecture 7: Web hacking 3, SQL injection, Xpath injection, Server side template injection, File inclusion Universitetet i Oslo Laszlo Erdödi Lecture Overview What is SQL injection

More information

Part I Quick Start Installation 2. Part II Manual Installation 8. Part III Ixed directory 10

Part I Quick Start Installation 2. Part II Manual Installation 8. Part III Ixed directory 10 Part I Quick Start Installation 2 1 Preliminary actions... 2 2 Running the install... script 2 3 Multilingual Support... 4 One Language Support... 4 Multiple Languages... Support 5 Flag Icons... 6 Important

More information

New case calls function to generate list of combo box values. Details case calls function to get details for selected record

New case calls function to generate list of combo box values. Details case calls function to get details for selected record Web Data Management 152-155 MVC & PDO Evaluation Form Student-Selected Project Name Score / 50 Update Value Make all corrections and resubmit to earn update points Update Recommended CSS Forms.css included

More information

SmartList Senior Project Paper

SmartList Senior Project Paper Brandon Messineo Dr. Jackson SmartList Senior Project Paper We live in a world where technology is used frequently. We use technology to tell the time, predict the weather, write a paper, or communicate

More information

SOA Software API Gateway Appliance 6.3 Administration Guide

SOA Software API Gateway Appliance 6.3 Administration Guide SOA Software API Gateway Appliance 6.3 Administration Guide Trademarks SOA Software and the SOA Software logo are either trademarks or registered trademarks of SOA Software, Inc. Other product names, logos,

More information

Mobile Site Development

Mobile Site Development Mobile Site Development HTML Basics What is HTML? Editors Elements Block Elements Attributes Make a new line using HTML Headers & Paragraphs Creating hyperlinks Using images Text Formatting Inline styling

More information

PHP: Hypertext Preprocessor. A tutorial Introduction

PHP: Hypertext Preprocessor. A tutorial Introduction PHP: Hypertext Preprocessor A tutorial Introduction Introduction PHP is a server side scripting language Primarily used for generating dynamic web pages and providing rich web services PHP5 is also evolving

More information

Quick Start Manual for Mechanical TA

Quick Start Manual for Mechanical TA Quick Start Manual for Mechanical TA Chris Thornton cwthornt@cs.ubc.ca August 18, 2013 Contents 1 Quick Install 1 2 Creating Courses 2 3 User Management 2 4 Assignment Management 3 4.1 Peer Review Assignment

More information

Developing ASP.NET MVC 5 Web Applications

Developing ASP.NET MVC 5 Web Applications Developing ASP.NET MVC 5 Web Applications Course 20486C; 5 days, Instructor-led Course Description In this course, students will learn to develop advanced ASP.NET MVC applications using.net Framework tools

More information

Phpmyadmin Error In Processing Request Error Code 200

Phpmyadmin Error In Processing Request Error Code 200 Phpmyadmin Error In Processing Request Error Code 200 Error in Processing Request Error code: 200. Error text: OK. Yes..the JSON will be generated, but there will be also inserted a part for "phpmyadmin".

More information

Installing Joomla

Installing Joomla Installing Joomla 3.0.11 To start installing Joomla 3.X you have to copy the zipped file Joomla_3.0.1-Stable-Full_Package.zip to the folder in which you want to install Joomla 3.X. On a web host this is

More information

WEB SECURITY WORKSHOP TEXSAW Presented by Solomon Boyd and Jiayang Wang

WEB SECURITY WORKSHOP TEXSAW Presented by Solomon Boyd and Jiayang Wang WEB SECURITY WORKSHOP TEXSAW 2014 Presented by Solomon Boyd and Jiayang Wang Introduction and Background Targets Web Applications Web Pages Databases Goals Steal data Gain access to system Bypass authentication

More information

Jackson State University Department of Computer Science CSC / Advanced Information Security Spring 2013 Lab Project # 3

Jackson State University Department of Computer Science CSC / Advanced Information Security Spring 2013 Lab Project # 3 Jackson State University Department of Computer Science CSC 439-01/539-02 Advanced Information Security Spring 2013 Lab Project # 3 Use of CAPTCHA (Image Identification Strategy) to Prevent XSRF Attacks

More information

INSTALLING RACHEL ON SYNOLOGY GIAKONDA IT

INSTALLING RACHEL ON SYNOLOGY GIAKONDA IT INSTALLING RACHEL ON SYNOLOGY GIAKONDA IT To add RACHEL to a Synology server there are a few stages to go through. First we need to ready the server for web use. Then we have to obtain a copy of the RACHEL

More information

File uploading in PHP

File uploading in PHP Lecture 24 File uploading in PHP Mr. Mubashir Ali Lecturer (Dept. of Computer Science) dr.mubashirali1@gmail.com 1 Summary of the previous lecture Creating database in MySQL using WAMP Connecting PHP with

More information

Mount Saint Mary College, Newburgh, NY Internet Programming III - CIT310

Mount Saint Mary College, Newburgh, NY Internet Programming III - CIT310 Warm up mini-lab Lab 1 - Functions Type in the following function definition and calls to the function. Test it and understand it. function myprint($str= No String Supplied ) // the argument is optional

More information

PHP. How Web Applications interact with server side databases CRUD. Connecting and using mysql from PHP PHP provides many mysql specific functions

PHP. How Web Applications interact with server side databases CRUD. Connecting and using mysql from PHP PHP provides many mysql specific functions PHP How Web Applications interact with server side databases CRUD Connecting and using mysql from PHP PHP provides many mysql specific functions mysql_connect mysql_select_db mysql_query mysql_fetch_array

More information

Configuring a Cognos Resource in Metadata Manager 9.5.0

Configuring a Cognos Resource in Metadata Manager 9.5.0 Configuring a Cognos Resource in Metadata Manager 9.5.0 2012 Informatica Corporation. No part of this document may be reproduced or transmitted in any form, by any means (electronic, photocopying, recording

More information

20486 Developing ASP.NET MVC 5 Web Applications

20486 Developing ASP.NET MVC 5 Web Applications Course Overview In this course, students will learn to develop advanced ASP.NET MVC applications using.net Framework tools and technologies. The focus will be on coding activities that enhance the performance

More information

CSCI 4000 Assignment 5

CSCI 4000 Assignment 5 Austin Peay State University, Tennessee Spring 2016 CSCI 4000: Advanced Web Development Dr. Leong Lee CSCI 4000 Assignment 5 Total estimated time for this assignment: 12 hours (if you are a good programmer)

More information

Introduction to PHP. Handling Html Form With Php. Decisions and loop. Function. String. Array

Introduction to PHP. Handling Html Form With Php. Decisions and loop. Function. String. Array Introduction to PHP Evaluation of Php Basic Syntax Defining variable and constant Php Data type Operator and Expression Handling Html Form With Php Capturing Form Data Dealing with Multi-value filed Generating

More information

Joomla 3.X Global Settings Part III Server Settings

Joomla 3.X Global Settings Part III Server Settings Joomla 3.X Global Settings Part III Server Settings Diagram 1 Path to Temp Folder: This is a text box adjacent to this prompt which holds the path to Joomla s temp folder on the web server. This is the

More information

Peak ETA Developers Guide

Peak ETA Developers Guide Oracle Business Intelligence 11g Peak ETA Developers Guide Antony Heljula / Paul Oprea January 2013 Peak Indicators Limited 2 Peak ETA Developers Guide Agenda About the Peak ETA Console About the Peak

More information

SOFTWARE INSTALLATION README

SOFTWARE INSTALLATION README SOFTWARE INSTALLATION README This software uses two directories for its installation. One is a public directory, and one is a private, or secure directory. Kryptronic software installs in two different

More information

20486: Developing ASP.NET MVC 4 Web Applications (5 Days)

20486: Developing ASP.NET MVC 4 Web Applications (5 Days) www.peaklearningllc.com 20486: Developing ASP.NET MVC 4 Web Applications (5 Days) About this Course In this course, students will learn to develop advanced ASP.NET MVC applications using.net Framework

More information

WEBD 236 Lab 5. Problem

WEBD 236 Lab 5. Problem WEBD 236 Lab 5 If you use an external source (i.e. a web-page, the required textbook, or an additional book) to help you answer the questions, then be sure to cite that source. You should probably always

More information

lectures/3/src/mvc/7/html/index.php <?php require_once('../includes/helpers.php');

lectures/3/src/mvc/7/html/index.php <?php require_once('../includes/helpers.php'); lectures/3/src/mvc/7/html/index.php 10. 1 1 1 1 1 1 1 1 1 20. 2 2 2 2 2 2 2 2 2 30. 3 3 3 3 3 3

More information

MySQL On Crux Part II The GUI Client

MySQL On Crux Part II The GUI Client DATABASE MANAGEMENT USING SQL (CIS 331) MYSL ON CRUX (Part 2) MySQL On Crux Part II The GUI Client MySQL is the Structured Query Language processor that we will be using for this class. MySQL has been

More information

Mysql Tutorial Show Table Like Name Not >>>CLICK HERE<<<

Mysql Tutorial Show Table Like Name Not >>>CLICK HERE<<< Mysql Tutorial Show Table Like Name Not SHOW TABLES LIKE '%shop%' And the command above is not working as Table name and next SHOW CREATE TABLEcommand user889349 Apr 18. If you do not want to see entire

More information

20486: Developing ASP.NET MVC 4 Web Applications

20486: Developing ASP.NET MVC 4 Web Applications 20486: Developing ASP.NET MVC 4 Web Applications Length: 5 days Audience: Developers Level: 300 OVERVIEW In this course, students will learn to develop advanced ASP.NET MVC applications using.net Framework

More information

Instructor s Notes Web Data Management Web Client/Server Concepts. Web Data Management Web Client/Server Concepts

Instructor s Notes Web Data Management Web Client/Server Concepts. Web Data Management Web Client/Server Concepts Instructor s Web Data Management Web Client/Server Concepts Web Data Management 152-155 Web Client/Server Concepts Quick Links & Text References Client / Server Concepts Pages 4 11 Web Data Mgt Software

More information

SYMFONY2 WEB FRAMEWORK

SYMFONY2 WEB FRAMEWORK 1 5828 Foundations of Software Engineering Spring 2012 SYMFONY2 WEB FRAMEWORK By Mazin Hakeem Khaled Alanezi 2 Agenda Introduction What is a Framework? Why Use a Framework? What is Symfony2? Symfony2 from

More information

20486-Developing ASP.NET MVC 4 Web Applications

20486-Developing ASP.NET MVC 4 Web Applications Course Outline 20486-Developing ASP.NET MVC 4 Web Applications Duration: 5 days (30 hours) Target Audience: This course is intended for professional web developers who use Microsoft Visual Studio in an

More information

Publish Joomla! Article

Publish Joomla! Article Enterprise Architect User Guide Series Publish Joomla! Article Author: Sparx Systems Date: 10/05/2018 Version: 1.0 CREATED WITH Table of Contents Publish Joomla! Article 3 Install Joomla! Locally 4 Set

More information

Publish Joomla! Article

Publish Joomla! Article Enterprise Architect User Guide Series Publish Joomla! Article Sparx Systems Enterprise Architect supports publishing an entire model, or part of the model, in a local Joomla! Repository as Articles (HTML

More information

Developing ASP.NET MVC 5 Web Applications

Developing ASP.NET MVC 5 Web Applications 20486C - Version: 1 23 February 2018 Developing ASP.NET MVC 5 Web Developing ASP.NET MVC 5 Web 20486C - Version: 1 5 days Course Description: In this course, students will learn to develop advanced ASP.NET

More information

Chapters 10 & 11 PHP AND MYSQL

Chapters 10 & 11 PHP AND MYSQL Chapters 10 & 11 PHP AND MYSQL Getting Started The database for a Web app would be created before accessing it from the web. Complete the design and create the tables independently. Use phpmyadmin, for

More information

Client Side Scripting. The Bookshop

Client Side Scripting. The Bookshop Client Side Scripting The Bookshop Introduction This assignment is a part of three assignments related to the bookshop website. Currently design part (using HTML and CSS) and server side script (using

More information

Creating HTML files using Notepad

Creating HTML files using Notepad Reference Materials 3.1 Creating HTML files using Notepad Inside notepad, select the file menu, and then Save As. This will allow you to set the file name, as well as the type of file. Next, select the

More information