CrownPeak Playbook CrownPeak Hosting with PHP

Similar documents
CrownPeak Java Web Hosting. Version 0.20

MVC Implementations Playbook. Version 0.92

Hosting as a Service (HaaS) Playbook. Version 0.92

Database as a Service (DaaS) Version 1.02

Web Development. How the Web Works 3/3/2015. Clients / Server

Developing ASP.NET MVC 4 Web Applications MOC 20486

CrownPeak Platform Dashboard Playbook. Version 1.0

Metadata Management CMS Extension. Version 0.90

CROWNPEAK C# API SYSTEM CONFIGURATION GUIDE VERSION 3.0.1

Google Analytics Playbook. Version 0.92

How to start with 3DHOP

Developing ASP.NET MVC 4 Web Applications

LAMP Server A Brief Overview

IT3503 Web Development Techniques (Optional)

Web Pages. Static Web Pages SHTML

Elgg 1.8 Social Networking

Developing ASP.NET MVC 4 Web Applications Course 20486A; 5 Days, Instructor-led

.NET Best Practices Part 1 Master Pages Setup. Version 2.0

Content Delivery Network. Version 0.95

WIRIS quizzes web services Getting started with PHP and Java

Web Development. Owen Sacco. ICS2205/ICS2230 Web Intelligence

Short notes on webpage programming languages

Document management and exchange system supporting education process

An Introduction To The Web File Manager

Workshop on Using Open Source Content Management System Drupal to build Library Websites Hasina Afroz Auninda Rumy Saleque

IT3504: Web Development Techniques (Optional)

Open Source Server Product Description

PHP Tutorial From beginner to master

Web Development. Owen Sacco. ICS2205/ICS2230 Web Intelligence

Document Freedom Workshop DFW 2012: CMS, Moodle and Web Publishing

IBM Unica emessage Version 8 Release 6 February 13, User's Guide

SEARCH G2. Paul Taylor, Solutions Architect October 29, 2014

Digital Downloads Pro

BIRT Application and BIRT Report Deployment Functional Specification

The guiding principles of this service are to deliver a hosting solution fit for the customers needs; this includes features such as;

MySQL Web Development PHP. System Administration XML APIs. Large Scale Systems Implementation. Amazon Web Services (AWS) Shell Scripting

Open Source Content Management System for content development: a comparative study

DTWMS Required Software Engineers. 1. Senior Java Programmer (3 Positions) Responsibilities:

Final Report - HydrometDB Belize s Climatic Database Management System. Executive Summary

Installation Instructions

Sitecore Dashboard User Guide

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

Requirement Priority Name Requirement Text Response Comment

Portals and Hosted Files

Protect, License and Sell Xojo Apps

AJAX Toolkit Framework

CA Spectrum and CA Service Desk

Digital Asset Management. Version 1.0

JobScheduler. Architecture and Mode of Operation. Software for Open Source

Preface. Motivation for this Book

Advanced Web Development SCOPE OF WEB DEVELOPMENT INDUSTRY

CatDV Pro Workgroup Serve r

Migration and Developer Productivity Solutions Retargeting IT for Emerging Business Needs

Software Requirements Specification For Real Estate Web Site

A Comparative Study of Web Development Technologies Using Open Source and Proprietary Software

4PSA DNS Manager Translator's Manual

Pemrograman Web. 1. Pengenalan Web Server. M. Udin Harun Al Rasyid, S.Kom, Ph.D

Mobile Maker. Software Requirements Specification

4 Understanding. Web Applications IN THIS CHAPTER. 4.1 Understand Web page development. 4.2 Understand Microsoft ASP.NET Web application development

RAY L BURGESS 2727 Sheridan Drive, Tonawanda NY Phone: (814) ray.lee.burgess@gmail.com

uilding a Branch Website using Wordpress

Case Study. Web Application for Financial & Economic Data Analysis Brainvire Infotech Pvt. Ltd Page 1 of 1

Lesson 7 - Website Administration

Architecture and Mode of Operation

SUBJECT CODE : 4074 PERIODS/WEEK : 4 PERIODS/ SEMESTER : 72 CREDIT : 4 TIME SCHEDULE UNIT TOPIC PERIODS 1. INTERNET FUNDAMENTALS & HTML Test 1

Volkov Vyacheslav. Summary. Saransk, , Mordovia, Russian Federation Moscow, Russian Federation +7(925) , +7(917)

Web Technologies Week 4 Hosting, Servers and Databases. Context. Contents. MSc in Computing Computing - IBITE Liverpool Hope University College

WebIOPi. Installation Walk-through Macros

LAMP [Linux. Apache. MySQL. PHP] Industrial Implementations Module Description

About ZPanel. About the framework. The purpose of this guide. Page 1. Author: Bobby Allen Version: 1.1

Web Application Development

Architecture and Mode of Operation

Using Ruby on Rails for Web Development. Introduction Guide to Ruby on Rails: An extensive roundup of 100 Ultimate Resources

CTIS 256 Web Technologies II. Week # 1 Serkan GENÇ

Business Application Services Testing

Pentesting Web Frameworks (preview of next year's SEC642 update)

ADMINISTRATOR GUIDE VERSION

Drupal CMS for marketing sites

This document gives an outline of Tim Ward s work on mobile phone systems

COURSE CONTENT FOR WINTER TRAINING ON Web Development using PHP & MySql

Business & Computing Examinations (BCE) LONDON (UK)

Maldives Pension Administration Office Republic of Maldives

ConcourseSuite 7.0. Installation, Setup, Maintenance, and Upgrade

RED HAT SOFTWARE COLLECTIONS BRIDGING DEVELOPMENT AGILITY AND PRODUCTION STABILITY

Avaya Identity Engines Ignition Server Release: Avaya Inc. All Rights Reserved.

WompMobile Technical FAQ

Administration of Symantec Enterprise Vault 10.0 for Exchange. Version: Demo. Page <<1/12>>

Corporate Bill Analyzer

LAMP : THE PROMINENT OPEN SOURCE WEB PLATFORM FOR QUERY EXECUTION AND RESOURCE OPTIMIZATION. R. Mohanty Mumbai, India

Lucid Key Server v2 Installation Documentation.

BarTender Integration Methods. Integrating BarTender s Printing and Design Functionality with Your Custom Application WHITE PAPER

Web Development News, Tips and Tutorials

<Insert Picture Here> Michael Hichwa VP Database Development Tools Stuttgart September 18, 2007 Hamburg September 20, 2007

Apache Jakarta Tomcat

Oracle Application Express MS Access on Steroids

Transcription:

CrownPeak Playbook CrownPeak Hosting with PHP Version 1.0

2014, Inc. All rights reserved. No part of this document may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopy, recording, or any information storage and retrieval system, without permission from. Document History Author/Editor Date Reason for Change Version Andrey Karpik 03/28/2014 Original Version 1.0 2

Table of Contents PHP Hosting Overview... 4 Components of the LAMP Stack... 4 PHP Hosting Benefits... 5 Popularity of PHP... 5 Cost of the Platform... 5 Speed of Development... 5 Enhanced Security.... 5 Configuring PHP hosting... 6 Integrating PHP in CrownPeak... 7 Notes and Additional Information... 9 Playbook References... 9 3

PHP Hosting Overview PHP Hypertext Preprocessor is a widely- used open source general- purpose server- side scripting language that is especially suited for Web development and can be embedded into HTML. PHP syntax draws on C, Java, and Perl, and is easy to learn. Web developers can write dynamically generated Web pages quickly. You can also use PHP to enhance out of the box CMS functionality to add server- side features for Web applications. CrownPeak clients with PHP hosting receive setup and configuration of highly- available, fault- tolerant, load- balanced Web hosting infrastructure, comprised of two redundant Web servers and two redundant load balancers in one AWS Region Network, rack space, power, bandwidth, storage and daily backups For database hosting, CrownPeak provides setup and configuration of two application and database servers. Components of the LAMP Stack The most popular server- side platform for PHP is LAMP (Linux + Apache + MySql + PHP). Linux is an open source operating system and ensures that the other components of LAMP run efficiently. One of its biggest features is that it offers cross- platform compatibility. Apache is a Web server and helps your Web application reach users. The stability of the application is in large part a result of the Apache servers. More than 65% of all Websites on the internet use Apache servers. The use of the PHP and Apache helps creation of dynamic pages that result in a highly interactive application. MySQL stores the data for Web applications. PHP is the glue that holds together all the other components of the LAMP system. It s a language that helps write all the server- side logic. 4

PHP Hosting Benefits Popularity of PHP PHP has a huge community and it's still growing. The community is a result of the popularity of PHP. You have very active mailing lists, discussion forums, and a large number of people who can answer questions when developing. There are tons of examples, support groups, books, etc. Cost of the Platform PHP itself is free and it works with out of the box with Apache, PostgreSQL, MySQL. This gives your project a very low initial cost threshold. CrownPeak hosting service includes additional support: Full backups daily, every fifteen minutes with a transaction log. Application performance monitoring, bug- tracking and repair, and ongoing maintenance. Security monitoring, security management and active security, response and mitigation Recovery and rollback services as required. Speed of Development Easy to mix code and HTML (this can be seen as a disadvantage). All you need is a text editor there is no compilation required. Developers can build an application locally and then integrate it to the CMS templates. Enhanced Security. Since Apache was developed for a non- Microsoft operating system and the majority of malicious programs have traditionally been written to take advantage of vulnerabilities in Windows, Apache has a reputation as a more secure option than Microsoft IIS. 5

Configuring PHP hosting The CrownPeak PHP hosting can be configured in the following way as part of the CMS creation process: Create a ticket for IT and send it to help@crownpeak.com and provide the following information: Instance Name: Name of the CMS instance Hosting: Linux for both Stage and Live Hosting custom requirements: you can request Web server only (Apache/Tomcat/PHP/JAVA), or additional application server (JBoss AS) and/or database server (MySQL) based on the client subscription. Note: The default server software offered by CrownPeak is Apache HTTP Server 2.4, PHP 5.4, Java 7, Apache Tomcat 7, JBoss AS 7, MySQL Community Edition 5.6 After the internal approval process is complete, IT will create the Web server configuration. The CMS configuration properties will be adjusted to allow publishing to the newly created application folder via sftp The Assets filenames should be configured to use.html or.php extension for all pages by default based on the client s requirements. 6

Integrating PHP in CrownPeak The PHP code is converted into CMS templates and models. Output files can contain text, HTML, CSS, JavaScript, and PHP code. PHP code is executed on the server and the result is returned to the browser as plain HTML. Capability.NET Web Forms PHP Presentation and deployment Web pages are deployed as files with a.aspx extension. Web pages deployed as files with.php or.html extension. Server- side logic Code behind is developed as supporting files with the same name as the pages they support with a.cs extension for C# and are deployed in a complied DLL. Inline PHP code or external libraries included. Shared Global Content (Header/Footer) Master pages can be deployed containing all global content (header and footer) and deployed with a.master extension. Include files with shared code that can be deployed with a.html or.php extension, and referenced by any page. Includes User controls provided include capabilities and files deployed as pages with an.ascx extension and referenced by any.aspx page. Include files with shared code that can be deployed with a.html or.php extension and referenced by any page. In- line code Output Template C# code can be also inserted in- line in any aspx page. Web Pages containing html, css, js, and any server- side C# code are implemented in output templates. Example of inline code: <?php echo "Hello!";?> Web Pages containing html, css, js, and any server- side PHP code are implemented in output templates. Input Template Content placeholders are exposed as editable input form fields. Content placeholders are exposed as editable input form fields. Includes Widgets and other assets can be configured to be published as user controls with a.ascx extension, and referenced by other templates using name.aspx and url.aspx. Widgets and other assets can be configured to be published as include files and referenced by other templates Server- side code Compiled and deployed as DLL. Interpreted inline code or references to external code library Preview in the CMS is not able to run the compiled server- side CMS is not able to run the compiled server- 7

Capability.NET Web Forms PHP CMS code. The template should have some output code wrapped to context.ispublishing CMS API to duplicate some server- side features in the preview: if (context.ispublishing) { Out.WriteLine("any server side controls/user controls or references goes here"); } else { Out.WriteLine("HTML for the CMS preview "); } Other option is to use preview.aspx template file to produce the preview HTML side code. The template should have some output code wrapped to context.ispublishing CMS API to duplicate some server- side features in the preview: if (context.ispublishing) { Out.WriteLine("any server side controls/user controls or references goes here"); } else { Out.WriteLine("HTML for the CMS preview "); } Other option is to use preview.aspx template file to produce the preview HTML 8

Notes and Additional Information Playbook References http://www.php. net 9