Configuration File – ProdigyView. Overview Objective Learn how to configure the system through the xml file. Requirements Understanding of the Defines.

Slides:



Advertisements
Similar presentations
Login to Top Hat Password Log In Need a Top hat Account – sign up here. I forgot my password You must log in first Display error Messages here.
Advertisements

Managing Cisco IOS Software. Overview The router boot sequence Locating IOS software The configuration register Recovering Passwords Backing Up the Cisco.
CookiesPHPMay-2007 : [‹#›] Maintaining State in PHP Part I - Cookies.
Lecture 6/2/12. Forms and PHP The PHP $_GET and $_POST variables are used to retrieve information from forms, like user input When dealing with HTML forms.
1.  Understanding about How to Working with Server Side Scripting using PHP Framework (CodeIgniter) 2.
Hypertext Transfer Protocol Kyle Roth Mark Hoover.
Computer Science 101 Web Access to Databases Overview of Web Access to Databases.
Securing LAMP: Linux, Apache, MySQL and PHP Track 2 Workshop PacNOG 7 July 1, 2010 Pago Pago, American Samoa.
TIBCO Designer TIBCO BusinessWorks is a scalable, extensible, and easy to use integration platform that allows you to develop, deploy, and run integration.
Christopher M. Pascucci Basic Structural Concepts of.NET Browser – Server Interaction.
IT533 Lectures Configuring, Deploying, Tracing and Error Handling.
DAT602 Database Application Development Lecture 15 Java Server Pages Part 1.
Mail Server Setup MAIL SERVER SETUP.
Lecture 3 – Data Storage with XML+AJAX and MySQL+socket.io
M. Taimoor Khan * Java Server Pages (JSP) is a server-side programming technology that enables the creation of dynamic,
PHP Tutorials 02 Olarik Surinta Management Information System Faculty of Informatics.
Reading Data in Web Pages tMyn1 Reading Data in Web Pages A very common application of PHP is to have an HTML form gather information from a website's.
INTERNET APPLICATION DEVELOPMENT For More visit:
CHAPTER 12 COOKIES AND SESSIONS. INTRO HTTP is a stateless technology Each page rendered by a browser is unrelated to other pages – even if they are from.
CSC 2720 Building Web Applications Cookies, URL-Rewriting, Hidden Fields and Session Management.
Lecture 7 Interaction. Topics Implementing data flows An internet solution Transactions in MySQL 4-tier systems – business rule/presentation separation.
1 PHP and MySQL. 2 Topics  Querying Data with PHP  User-Driven Querying  Writing Data with PHP and MySQL PHP and MySQL.
Advanced Web Forms with Databases Programming Right from the Start with Visual Basic.NET 1/e 13.
CS441 CURRENT TOPICS IN PROGRAMMING LANGUAGES LECTURE 5_1 George Koutsogiannakis/ Summer
COLD FUSION Deepak Sethi. What is it…. Cold fusion is a complete web application server mainly used for developing e-business applications. It allows.
Guidelines for Homework 6. Getting Started Homework 6 requires that you complete Homework 5. –All of HW5 must run on the GridFarm. –HW6 may run elsewhere.
06/10/2015AJAX 1. 2 Introduction All material from AJAX – what is it? Traditional web pages and operation Examples of AJAX use Creating.
Chapter 1: The Internet and the WWW CIS 275—Web Application Development for Business I.
Marcel Casado NCAR/RAP WEATHER WARNING TOOL NCAR.
Apache, MySQL and PHP Installation and Configuration Chapter 3 PHP Installation and Configuration.
School of Computing and Information Systems CS 371 Web Application Programming PHP – Forms, Cookies, Sessions and Database.
Week seven CIT 354 Internet II. 2 Objectives Database_Driven User Authentication Using Cookies Session Basics Summary Homework and Project 2.
IP BROS Presentation by: Amen Ahmed. Mario and Luigi are here to help us find our way through the internet. Mario will act as our browser and Luigi will.
1 Chapter 9 – Cookies, Sessions, FTP, and More spring into PHP 5 by Steven Holzner Slides were developed by Jack Davis College of Information Science.
Web Scripting [PHP] CIS166AE Wednesdays 6:00pm – 9:50pm Rob Loy.
IsisOnline Manual Publishing your CDS/ISIS databases is very easy! Ismail Fahmi KMRG ITB.
Module 5: Configuring Internet Explorer and Supporting Applications.
CSC 2720 Building Web Applications Server-side Scripting with PHP.
Topics Sending an Multipart message Storing images Getting confirmation Session tracking using PHP Graphics Input Validators Cookies.
Web Database Programming Week 7 Session Management & Authentication.
Sources of Cisco IOS Honolulu Community College Cisco Academy Training Center Semester 2 Version 2.1.
ASP (Active Server Pages) by Bülent & Resul. Presentation Outline Introduction What is an ASP file? How does ASP work? What can ASP do? Differences Between.
The Problem of State. We will look at… Sometimes web development is just plain weird! Internet / World Wide Web Aspects of their operation The role of.
ASP. What is ASP? ASP stands for Active Server Pages ASP is a Microsoft Technology ASP is a program that runs inside IIS IIS stands for Internet Information.
PHP “Personal Home Page Hypertext Pre-processor” (a recursive acronym) Allows you to create dynamic web pages and link web pages to a database.
We now will look at options for saving searches in CINAHL. We have accessed the Results for Chloroquine AND Pyrimethamine AND Sulfadoxine search. We now.
While You Were Sleeping… SAS Is Hard At Work Andrea Wainwright- Zimmerman.
Fundamentals of Web DevelopmentRandy Connolly and Ricardo HoarFundamentals of Web DevelopmentRandy Connolly and Ricardo Hoar Fundamentals of Web DevelopmentRandy.
Since you’ll need a place for the user to enter a search query. Every form must have these basic components: – The submission type defined with the method.
Creating PHP Pages Chapter 5 PHP Structure and Syntax.
1 DIG 3134 Lecture 6: Maintaining State Michael Moshell University of Central Florida Media Software Design.
Web Page Designing With Dreamweaver MX\Session 1\1 of 9 Session 3 PHP Advanced.
Session 11: Cookies, Sessions ans Security iNET Academy Open Source Web Development.
PHP Tutorial. What is PHP PHP is a server scripting language, and a powerful tool for making dynamic and interactive Web pages.
Bootstrap Tutorial Overview Objective Learn how to use the bootstrap for configuring the system. Requirements Installed Version of.
Web Server Administration Chapter 6 Configuring a Web Server.
PHP – Hypertext Preprocessor.
ASP – Web Programming Class  Ravi Anand. ASP – Active Server Pages What is ASP? - Microsoft Technology - Can Run using IIS/PWS/Others - Helps us create.
A pache M ySQL P hp Robert Mudge Reference:
JavaScript and Ajax (Ajax Tutorial)
Introduction to Dynamic Web Programming
Web Design and Development
TYPES OF SERVER. TYPES OF SERVER What is a server.
PHP Introduction.
Open Source Programming
Building Web Applications
Accessing Remote Datasets through the netCDF interface.
Created by Atif Aziz. ELMAH means is "Error Logging Modules and Handlers". It is an application-wide error logging facility that is completely pluggable.
SEEM 4540 Tutorial 4 Basic PHP based on w3Schools
Presentation transcript:

Configuration File – ProdigyView

Overview Objective Learn how to configure the system through the xml file. Requirements Understanding of the Defines. Estimated Time 5 minutes

Follow Along With A Code Example 1. Download a copy of the example code at Install the system in an environment you feel comfortable testing in. 3. Proceed to config/site_config.xml

XML File ProdigyView uses an xml file for holding system configurations instead of the standard PHP file. If you remember reading about the Defines, the location of this file is set there. WHY XML? There a typically four ways of storing and reading configuration files in PHP. 1. Php.ini 2. Database 3. Php file 4. XML File Out of those 4 ways and test performed with repeated reading of a configuration file, retrieving a configuration from the database is the slowest, php.ini is faster the a php file, and an xml file takes the cake.

Good Article To Read A good article to read on PHP configuration files is here: The article will give you insight on using php.ini configuration, xml configuration, php file configuration, and the database configuration.

How the Configuration Works The configuration works in two parts 1. If you noticed on the tutorial about the bootstrap, the ‘load_configuration’ option was set to false. If that is set true, the xml file is loaded and those variables are used to initialize: 1. PVSessions 2. PVRouter 3. PVDatabase 4. PVSecurity 5. PVTemplate 2. In PVConfiguration, there are various methods that use the xml configuration. Example: Methods such as PVConfiguration::get Settings() retrieve the settings from the xml file.

General Configuration The general configuration is general information about the web application and is mainly used by functions in PVTemplate.

Configuration The configuration sets the defaults to how s will be sent. The most important option here is the ‘mailer’. If the option is set to php, the method PVMail::send () will send an using php’s mail() function. If the option is set to smtp, the PVMail:send () will send an through SMTP. Default from used in sendmail Default SMTP information used

System The system configuration controls how the system runs. Display Error MessageThe level of errors to report Log errors Remove global variables Forces SEO friendly urls

Session The session configuration can be used to control sessions. Cookies stored in the browser configuration Sessions stored on the server configuration

Session Review 1. The default configuration file is set by the PV_CONFIG file 2. The XML file DOES NOT have to be used and can be turned off in the bootstrap. 3. The ‘ ’ configurations configures the PVMail class. 4. The ‘sessions’ configurations configures the Session class. 5. The ‘system’ configuration configures the router and error reporting.