Rapid Development

Total Page:16

File Type:pdf, Size:1020Kb

Rapid Development REVIEWS Zend Studio 4 Exploring the Zend Studio 4 developer environment RAPID DEVELOPMENT PHP experts consider Zend Studio the most mature and feature-rich IDE for PHP. The latest version offers enhanced database manip- ulation and other improvements. We’ll put the Zend Studio IDE through its paces and show you how you can use it to speed up PHP development. BY CARSTEN MÖHRKE he choice of an integrated devel- opment environment is often a Tmatter of taste. Many PHP devel- opers prefer text editors like Emacs or Vim. Developers who favor a more inte- grated approach have several choices in the Linux world. The free Quanta Plus IDE, the closed source Maguma environ- ment, and even Eclipse (with the right Zend Studio has set of plug-ins) are all genuine alterna- the reputation of being tives to an editor. For PHP developers, one of the most mature and pow- erful IDEs. version that disables so many useful Zend Studio Personal Edition Zend Studio is the brainchild of Isra- features it is not really worth the effort The following features are not available el’s Zend Software, a vendor that prefers (see the box titled “Zend Studio Personal in Zend Studio Personal Edition: to be known as “The PHP Company.” Edition”). Older versions often suffered from per- • Profiler Installation • Code Analyzer formance problems or instability, but the • CVS support latest version, Zend Studio 4, is an After downloading and unpacking the extremely powerful and stable developer 47MByte archive, you can launch the • Inspectors environment. Zend Studio is neither installation program directly. A wizard • FTP support Open Source, nor is it free of charge, prompts you for a few required details. • Remote Debugging although US$ 249 is a fair asking price. Besides the typical questions concerning • Function descriptions in code comple- You can download a trial version from directories, you can say which PHP ver- tion the Zend website. The test version is sion you want Zend to support (4 or 5). • File searching full-featured for the 21 day trial period PHP 4 and 5 are not one hundred per- • Printing and then degrades to the “Zend Studio cent compatible and have different com- • Block indenting Personal Edition,” a non-commercial mand sets, so this selection will influ- 42 ISSUE 57 AUGUST 2005 WWW.LINUX - MAGAZINE.COM Advertisment Figure 1: An installation wizard walks you through the Zend Studio installation process. Make sure you install the Zend Studio Server. ence syntax highlighting and shows files, servers, and checking. The good news is databases for direct access. that you can change your Below this are various inspec- mind later. Another impor- tors that give developers a tant part of the installation is quick overview of the files, deciding whether to install classes, and methods belong- Zend Studio Server (Figure ing to the current project. The 1.) Say yes, because you will lower part of the screen is need the server for effective reserved for messages and debugging later. the debugging window. The second window gives you Interface information on variable val- After completing the installa- ues, the call stack, and simi- tion, Zend Studio automati- lar things. On the right is a cally detects your system’s display area that gives you language settings and the “screen output.” This launches with the correct lan- area provides an at-a-glance guage support. At this time of overview of the output the writing, the environment script generates. Zend Studio supports English, French, also displays the HTTP head- German, Russian and Span- ers; this is a useful feature, ish. and one that a browser would The user interface (Figure not give you. Finally, the edit- 2) is divided into a number of ing window is at the center of panels. The top left area the screen. Good news for Figure 2: The Zend Studio user interface. REVIEWS Zend Studio 4 those of you worrying where to put all when you launch the IDE, and this can one of the most useful tools. While you those panels on a small screen: you can be really annoying if you have a long list are typing, Zend Studio shows a list of scale panels and hide any you do not of servers, or if connections are down. functions, variables, or other items that need. Zend Studio also has CVS support, start with the letters you have typed. which you can again configure through Considering the number of PHP com- Settings the tools menu. mands, the fact that the system gives a Before you start using Zend Studio for short overview of what each function production, you will probably need to Setting up a Database actually does is very useful. A parameter tweak a few settings. The dialog box for Server list appears when a function has been personalizing the system is titled Prefer- Direct access to database servers is a uniquely identified. ences and is launched by selecting Prefer- new feature in Zend Studio 4. Clicking Zend Studio dynamically adds any ences in the tools menu. on SQL in the file management window functions, variables, and classes you Many of these settings are a matter of (top left) displays a list of configured define to the code completion list. This personal preference. However, there are servers. Of course, the list will be empty is not restricted to the file you are cur- a few additional options that you will if you have just finished installing the rently editing, but also includes any need to change to give you a useful program. To populate the list, right click other files you have open at the same developer environment. For example, in the window and select “Add Server” time. (The code completion feature can you can define how to display the tabu- to open the window shown in Figure 4. lead to confusion when Zend offers you lator in the Editing tab. The Newline Currently, Zend Studio supports direct a class from an open file that is not part format can also be important; this set- access to the following database servers: of your current project.) ting specifies whether a newline is Oracle, SQLite, Microsoft SQL Server, As PHP does not support variable type represented by a carriage return and line PostgreSQL, and MySQL. After entering declarations, Zend Studio has no way of feed (Windows standard) or just by a your access credentials, you can immedi- knowing what data type a parameter you line feed (Unix standard). ately access the server. Right clicking pass to a function should represent. opens a connection and gives the devel- However, developers can add documen- Configuring the Server oper environment access to any data- tation blocks (docblocks) to provide this In many cases, you will need to work on bases, tables, and records for which the information for their own functions, files stored on a server. The Zend IDE current user has permissions. classes, and methods. To do so, right gives you the ability to store files directly Developers can view the table struc- click on a function in the Project Inspec- on the server using an FTP connection. ture or content in the window normally tor and select Add description to insert You can use SFTP or FTP over SSH for occupied by the editor. Zend Studio does an empty docblock. more security if necessary. The file menu not support direct record manipulation, The first line should be a short takes you to the dialog where you can however, as it does not claim to be a description of the function, which will set up a new server connection (Figure database front-end. In database mode, also appear in the code completion help. 3.) To set up a connection, you need to you can use the lower part of the inter- Docblocks are tag extensible, allowing supply the usual information, such as face to enter SQL commands (Figure 5). them to describe the properties of a the host and user names and a pass- This feature allows developers to verify function or class. Tags always start with word. Make sure you uncheck the Recon- SQL queries before adding them to the @. A tag needs to be preceded with an nect on Startup option or Zend Studio PHP codebase. asterisk (*) and a blank. For example, an will attempt to connect to the server entry such as @return: would describe Production the return type for the function. The Although Zend Studio does allow you to @param: tag refers to a parameter. You edit individual files, developers will need a separate entry for each parame- more typically want to work on projects. When you add a new project by select- ing New Project in the Project menu, a wizard pops up to prompt you for the project name, the path for storing the project files, and the debugging prefer- ences for the project. After you create a project, the new project is displayed on the left in the Project Inspector area. You can now right click or use the File menu to add files to the project. Zend Studio has several useful fea- tures to support encoding work. Besides Figure 3: The Configure FTP Server dialog syntax highlighting, which even the box lets you set up a connection to an FTP most simple of editors now support, server. automatic code completion is probably Figure 4: Configuring an SQL server. 44 ISSUE 57 AUGUST 2005 WWW.LINUX - MAGAZINE.COM Zend Studio 4 REVIEWS sequence [Ctrl]+[Alt]+[A] or by accessing the analyzer through the tools menu. Debugging Of course, Zend Studio helps developers locate more hidden errors.
Recommended publications
  • Introduction to Python for IBM I
    Introduction to Python for IBM i Mike Pavlak – IT Strategist [email protected] Agenda ■ A little about Python ■ Why use Python ■ How to install/determine if installed ▶IDE ■ Syntax 101 ▶Variables ▶Strings ▶Functions 2 Acknowledgements ■ Kevin Adler ■ Tony Cairns ■ Jesse Gorzinski ■ Google ■ Memegenerator ■ Corn chips and salsa ■ Parrots ■ And, of course, spam 3 A little about Python What is it, really? ■ General purpose language ■ Easy to get started ■ Simple syntax ■ Great for integrations (glue between systems) ■ Access to C and other APIs ■ Infrastructure first, but applications, too 5 Historically… ■ Python was conceptualized by Guido Van Rossum in the late 1980’s ■ Rossum published the first version of Python code (0.9.0) in February of 1991 at the CWI(Centrum Wiskunde & Informatica) in the Netherlands, Amsterdam ■ Python is derived from the ABC programming language, which is a general purpose language that was also developed at CWI. ■ Rossum chose the name “Python” since he was a fan of Monty Python’s Flying Circus. ■ Python is now maintained by a core development team at the institute, although Rossum still holds a vital role in directing its progress and as leading “commitor”. 6 Python lineage ■ Python 1 – 1994 ■ Python 2 – 2000 (Not dead yet…) ▶2.7 – 2010 ■ Python 3 – 2008 ▶3.5 – 2015 ▶3.6.2 – July 2017 ▶3.7 ➔ ETA July 2018 7 Python 2 or 3? 8 What’s the diff? ■ Example: ▶Python 2 print statement replaced by function ● Python 2 – print “Hello World!” ● Python 3 – print(“Hello World!”) ■ Many more differences, tho…
    [Show full text]
  • PHP Beyond the Web Shell Scripts, Desktop Software, System Daemons and More
    PHP Beyond the web Shell scripts, desktop software, system daemons and more Rob Aley This book is for sale at http://leanpub.com/php This version was published on 2013-11-25 This is a Leanpub book. Leanpub empowers authors and publishers with the Lean Publishing process. Lean Publishing is the act of publishing an in-progress ebook using lightweight tools and many iterations to get reader feedback, pivot until you have the right book and build traction once you do. ©2012 - 2013 Rob Aley Tweet This Book! Please help Rob Aley by spreading the word about this book on Twitter! The suggested hashtag for this book is #phpbeyondtheweb. Find out what other people are saying about the book by clicking on this link to search for this hashtag on Twitter: https://twitter.com/search?q=#phpbeyondtheweb Contents Welcome ............................................ i About the author ...................................... i Acknowledgements ..................................... ii 1 Introduction ........................................ 1 1.1 “Use PHP? We’re not building a website, you know!”. ............... 1 1.2 Are you new to PHP? ................................. 2 1.3 Reader prerequisites. Or, what this book isn’t .................... 3 1.4 An important note for Windows and Mac users ................... 3 1.5 About the sample code ................................ 4 1.6 External resources ................................... 4 1.7 Book formats/versions available, and access to updates ............... 5 1.8 English. The Real English. .............................. 5 2 Getting away from the Web - the basics ......................... 6 2.1 PHP without a web server .............................. 6 2.2 PHP versions - what’s yours? ............................. 7 2.3 A few good reasons NOT to do it in PHP ...................... 8 2.4 Thinking about security ...............................
    [Show full text]
  • Zend Studio 5 Default Keymap
    Code Snippets Instant URL Code Folding Customise Keymap Code Analyzer Clone View Benefit from our Debugging Manage large amounts of Scheme Customization Get analysis information Create a clone of the communities extensive code by automatically with great ideas on how current editor for viewing knowledge and be updated Enter the URL you want Use a default scheme Create a unique key and editing two files at the to debug and press collapsing and or define your own. combination for each to improve your code. with the latest snippets expanding. Right click on a same time. Right click in from Zend’s site. Debug -> Debug URL. Tools->Preferences-> action. the editor and choose Tools -> Preferences Colors & Fonts Tools->Preferences- directory in the project Edit -> Show Snippets -> -> Editing tab and press Analyze ‘Clone View’ ‘Update Snippets’. >KeyMap Zend Studio 5 Default Keymap Code Debug Server Manage Debugging & Profiling Tools Documentation Ctrl + N - Add New Document F8- Debug URL Alt + Ctrl + A Analyze Code Connections Create documentation for Ctrl + O - Open Document F12 - Profile URL Ctrl + Shift + I Check Include Files Check connectivity with Ctrl + F4 - Close Document/Window Ctrl + F5 - Run the Debug Server. your PHP files in your Ctrl + Shift + F4 - Close All F5 - Go Code Templates favorite HTML style. Ctrl + Shift + O - Open Project F10 - Step Over To add a Template, press Tab to insert code. Tools -> Check Debug Tools -> PHPDocumentor Ctrl + Shift + N - New Project F11 - Step Into Server Connection Ctrl + S - Save File Shift + F11 - Step Out PHP Templates Ctrl + Shift + S - Save As Shift + F5 - Stop Debug itar - Iterates an Array SQL Connectivity Ctrl + Alt + S - Save All Shift + F10 - Go to Cursor itdir - Iterates a Directory F9 - Toggle Breakpoint prv - Prints a Value Goto File/ Resource Add SQL database Editor Shift + F8 - Add Watch inst - Instance of Statement connection in one click.
    [Show full text]
  • One Position Until 30/04/2020 with a Total Anticipated Remuneration 15.000,00€
    Department: Human Resources Department, Thessaloniki, 12/09/2018 Research Committee AUTH Ref.No.Call: 109620/2018 Info: Gouliou Eleni Τel.: 2310-994082 Fax: 2310-200392 TO BE PUBLISHED ONLINE E-mail: [email protected] Project Code.: 94137 CALL FOR EXPRESSION OF INTEREST The Research Committee (Special Account for Research Funds) of Aristotle University of Thessaloniki, in the framework of the project “5G integrated Fiber-Wireless networks exploiting existing photonic technologies for high-density SDN-programmable network architectures” funded under European Union, with Academic Head, Prof. Nikolao Plero, invites candidates to submit applications for two (2) position (through the award of a work contract), until 31/08/2020 with a total anticipated remuneration 32.700,00 euro (VAT and taxes included). One position until 30/04/2020 with a total anticipated remuneration 15.000,00€ Job Description (A) • Simulation and programming applications development for algorithmic representation of Embedded 5th generation Optical / Wireless Networks. • Projects Website maintenance and the social media accounts updates. The aforementioned tasks will be carried out within the following work packages of the project: WP5 Cooperative Radio-Optical Resource Allocation and Channel Mapping The new partner will collaborate with the members of the Photonic Systems and Networks Research Group who participating in the project under the supervision of the scientifically responsible and the technical guidance of an experienced scientific associate, member of the research team. Required Qualifications • The recruited researcher should have a Bachelor's degree in Informatics • The recruited researcher should have a Master's degree in Internet and Web Computing. • The recruited researcher should have good knowledge of the English language (B2 Level).
    [Show full text]
  • Xdebug Tutorial
    Welcome! Xdebug tutorial PHP Konferenca - Ljubljana, Slovenia Derick Rethans - [email protected] - twitter: @derickr http://derickrethans.nl/talks.html About Me Derick Rethans ● Dutchman living in London ● PHP development ● Author of the mcrypt, input_filter, dbus, translit and date/time extensions ● Author of Xdebug ● Contributor to the Apache Zeta Components Incubator project (formerly eZ Components) ● Freelancer doing PHP (internals) development I Do Not Need a Debugger ● printf(), var_dump() and echo are good enough I Do Not Need a Debugger I Do Need a Debugger ● Xdebug: An Open Source debugging tool ● About 8 years old ● Works on "every" operating system ● Version 2.1 released about three months ago This Tutorial ● Installation overview ● Downloading, compiling and configuring Xdebug ● Basic function overview ● Playing with settings, stack traces and function traces break ● Profiling ● Profiling your own code ● Code coverage ● (Setting up code-coverage with PHP Unit) break ● Debugging ● Setting up your IDE for debugging Installation The Xdebug extension ● Zend extension, and not a PHP extension ● Xdebug is very PHP-version sensitive ● Different compilers under Windows ● Debug/non-debug ● Threadsafe or not In PHP 5.1 and 5.2: zend_extension=/local/php/lib/php/extensions/no-debug-non-zts- 20090626/xdebug.so zend_extension_ts=/local/php/lib/php/extensions/debug-zts- 20090626/xdebug.so zend_extension_debug=/local/php/lib/php/extensions/debug-non-zts- 20090626/xdebug.so In PHP 5.3: zend_extension=/local/php/lib/php/extensions/no-debug-non-zts-
    [Show full text]
  • Curriculum Vitae
    CURRICULUM VITAE MR. RONALDS PRŪSIS CONTACTS Address: Zaļā 4-3, Rīga, LV-1010 Tel: +371-29695702 E-mail: [email protected] SCOPE Programmer vacancy EDUCATION 2007. – 2009. Vidzeme University College Valmiera, Latvia Faculty of Social System Modelling (Master) 2003. – 2007. Vidzeme University College Valmiera, Latvia Faculty of Information Technologies (Bachelor) 2006. (I-VI) Mälardalens Högskola Västerås, Sweden 1991. – 2003. Baldones Secondary School Baldone, Latvia WORK EXPERIENCE Since 2018. IV “Tieto” SIA Rīga, Latvija Team leader manager (various internal systems, people, services and servers management) Since 2016. VII “Tieto” SIA Rīga, Latvija Senior software developer (various internal system (accounting, project management, expenses and contracts) support) 2014. X – 2015. XII SIA “ZoomCharts” Rīga, Latvija PHP programmer (creating custom CI server and soft for that, as well as various interactive examples (POC); supporting everyday automated test) 2013. VII – 2014. IX “Platonit AB” Riga, Latvia PHP programmer (Wordpress and Drupal CMS support) 2010. IV – 2013. VIII “BrandosAB” AB Riga, Latvia PHP programmer (supporting and improving scalable back and front-end functionality for online shop www.brandos.com) 2009. XI - 2010. IV A/S “Telemedia” Riga, Latvia PHP programmer (supporting and improving scalable back and front-end functionality for contact catalogue www.1189.lv, www.kontakti.lv) 2009. III – VI AS “Swedbank” Riga, Latvia Webmaster (free-lance job - developed fully functional online house auction with bank authentication) 2007. II – 2008. XII SIA „Creative PC Service” Riga, Latvia IT administrator and IT-outsourcing specialist (managing computer hardware and software efficiency) 2006. IX – XII A/S “Sol Melia” Palma De Mallorca, Spain Developer of company’s web page various modules (www.solmelia.com) 2004.
    [Show full text]
  • Zend Framework for Enterprise PHP on IBM I
    Zend Framework for Enterprise PHP on IBM i By Alan Seiden – PHP/i Developer and Consultant Strategic Business Systems, Inc. About me (Alan Seiden) Consultant/developer and mentor specializing in PHP & Zend Framework on IBM i • Consultant to IBM’s Redbook: Zend Core for i5/OS • First IBM i developer certified in Zend Framework • Co-founder of first Zend Framework Meetup (New York) • Developed “best web app” (COMMON meeting 2009) 2 About Strategic Business Systems, Inc. Partner with IBM since 1982 IBM i hardware, software development, consulting Concentration in food & beverage and automotive industries HQ in northern New Jersey Partner with Zend (“the PHP company”) since 2008 PHP’s been our preferred web technology since 2005 In addition to our consulting/development services, we help customers select and purchase Zend’s training and software We represent Zend in the northeastern USA 3 What I’ll cover today Evolution of PHP on IBM i In general, and… For each developer, assess where you are and what’s next Zend Framework Why it’s good for you Concepts and components Tips and tricks You will leave here understanding what ZF can do—and that you can do it! 4 Why PHP on i Powerful, flexible, popular Runs completely on your good old “i” Has backing & support of IBM Allows your teams to work together Re-use RPG logic, called from PHP Consolidate departmental solutions (Excel spreadsheets!) into your reliable db2 database 5 Typical stages of PHP on i Grass roots Prove to yourself how well PHP works on i Pilot project(s) Obtain some buy-in from
    [Show full text]
  • Thematic Cycle 2: Software Development Table of Contents
    THEMATIC CYCLE 2: SOFTWARE DEVELOPMENT THEMATIC CYCLE 2: SOFTWARE DEVELOPMENT TABLE OF CONTENTS 1. SDLC (software development life cycle) tutorial: what is, phases, model -------------------- 4 What is Software Development Life Cycle (SDLC)? --------------------------------------------------- 4 A typical Software Development Life Cycle (SDLC) consists of the following phases: -------- 4 Types of Software Development Life Cycle Models: ------------------------------------------------- 6 2. What is HTML? ----------------------------------------------------------------------------------------------- 7 HTML is the standard markup language for creating Web pages. -------------------------------- 7 Example of a Simple HTML Document---------------------------------------------------------------- 7 Exercise: learn html using notepad or textedit ---------------------------------------------------- 11 Example: ---------------------------------------------------------------------------------------------------- 13 The <!DOCTYPE> Declaration explained ------------------------------------------------------------ 13 HTML Headings ---------------------------------------------------------------------------------------------- 13 Example: ---------------------------------------------------------------------------------------------------- 13 HTML Paragraphs ------------------------------------------------------------------------------------------- 14 Example: ----------------------------------------------------------------------------------------------------
    [Show full text]
  • Wesconetweb Services
    WESCONet Web Services Web Development Interview Questions Date: Thursday, October 04, 2007 Author: David Damstra ([email protected]) Candidate: _________________________________________________________________________ Interview: _________________________________________________________________________ A. Teams 1. What are the sizes of teams you have worked on? 2. Which do you prefer? Large, small, alone? 3. Were there any employees who reported to you? If so, how many? B. Projects 1. What are the sizes of projects you have worked on? 2. Which do you prefer? 3. How would you describe the complexity of projects you have worked on? 4. Describe your favorite project? 5. How was it spec’d? 6. Estimate a quantity of projects that you have been involved in from start to finish. 7. How do you handle deadlines? 8. Do you always meet deadlines? 9. Did you have to document your projects? a. If so, what did you provide? 10. How do you handle comments in code? C. Career 1. Why did you leave your previous job? 2. What did you like best about your previous position? 3. What did you like the least about your previous position? 4. What type of position are you looking for? 5. What would you like to do? See also traditional questions below: D. Development/Tools 1. What tools do you use? A. Development – IDE, text editor, etc. B. Version Control – CVS, SVN, VSS C. Continuous Integration – Draco.NET, CruiseControl, TeamCity D. Image Editing and manipulation – Photoshop, Illustrator, Gimp, Paint E. Documentation – Doc Generators F. Automated Testing – Selenium, NUnit, JUnit, TestComplete, Watir Confidential Page 1 10/4/2007 WESCONet Web Services 2.
    [Show full text]
  • IBM Power Systems 1Q'15 Launch Messaging and Key Offering Content
    9/22/2016 Welcome to the Waitless World The open book: Open Source on IBM i Jesse R. Gorzinski, MBA [email protected] IBM i Emerging Solutions © 2015 IBM Corporation Session ID: Agenda Key: http://blog.codeeval.com/codeevalblog/2016/2/2/most-popular-coding-languages-of-2016 © 2016 IBM Corporation 4 1 9/22/2016 Popular Open Source Languages: Tiobe http://www.tiobe.com/tiobe-index/ © 2016 IBM Corporation Business value? • Ease in finding skills • Time to market • May not have to change core business! Just use OSS to extend it to web services, mobile, etc. • It's very easy to enable web and mobile technologies. © 2016 IBM Corporation 2 9/22/2016 What is IBM i doing? 9 © 2016 IBM Corporation Open Source on i – a new concept? • First open-source IBM i project was JTOpen (1998) • People have been using perl since at least 1998 • Apache HTTP server shipped since 2002 • Also shipped in the past/present: – OpenSSL – OpenSSH – Apache Tomcat – Samba © 2016 IBM Corporation 3 9/22/2016 Enabling software engineering on open source languages/runtimes • Several new languages added. More in the future? • New tools delivered 11 © 2016 IBM Corporation Enabling easy extension of OSS for IBM i - XMLService • Allows access to IBM i programs, service programs, shell commands, and even DB2! • Can be called locally or remotely, stateful or stateless, very flexible! • Toolkits are written for several languages, to make it even easier! 12 © 2016 IBM Corporation 4 9/22/2016 Enabling easy extension of OSS for IBM i – IBM i Services • Access system data through
    [Show full text]
  • Zend Studio V.5.5
    Zend StudioTM Quick Start Guide: Zend Studio V.5.5 By Zend Technologies, Inc. www.zend.com Zend Studio – Quick Start Guide Disclaimer The information in this document is subject to change without notice and does not represent a commitment on the part of Zend Technologies, Ltd. No part of this Guide may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or information storage and retrieval systems, for any purpose other than the purchaser’s personal use, without the written permission of Zend Technologies, Ltd. All trademarks mentioned in this document, belong to their respective owners. © 1998-2007 Zend Technologies, Ltd. All rights reserved. Zend Studio Quick Start Guide issued July 2007. Product Version: Zend Studio 5.5 DN: ZS-QS-180907-5.5-004 www.zend.com Page ii Zend Studio – Quick Start Guide Table of Contents TM About the Zend Studio Quick Start Guide ...................................................................... 1 About Zend ........................................................................................................... 1 Zend Studio Editions................................................................................................... 1 Zend Studio Standard............................................................................................... 1 Zend Studio Professional ........................................................................................... 1 Installation and Registration ........................................................................................
    [Show full text]
  • Recursive Acronym for PHP: Hypertext Preprocessor
    Introducation - PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML. Features - i. It can communicate with database, collect form data, send, receive cookies. In addition to output html pages, it can output images, pdf, flesh movies, text, xml file. ii. It supports a wide range of databases thru db specific extension (mysql), ODBC, PDO. iii. It can support for talking to other services using protocols such as - LDAP, IMAP, SNMP, NNTP, POP3, HTTP, COM (on Windows) and countless others. PHP has support for instance of Java objects and using them transparently as PHP objects. iv. Run on a wide range of os (win, linux, mac, …) and many servers like apache, IIS. v. Support both procedural and OOPs. History - PHP as it's known today is actually the successor to a product named PHP/FI. FI stands for form interprator. Created in 1994 by Rasmus Lerdorf to make his dynamic resume in c language. In Jun 1995, he released his source code to public for further development and improvement. Later it becomes PHP. It support database communication. Its latest version php 7.3 released on 6-12-18. It support Unicode character set. Installation – It can be freely downloaded from www.php.net. It is server side scripiting but can be used for command line scripting at system prompt (# in linux of dos prompt in windows). To run php three things are required – Php Parser (CGI server module), Web Server (apache, iis (only for windows) ), browser.
    [Show full text]