Volume 10, Number 30 -- August 24, 2010

PHP and JavaScript Come Together in Zend Studio 8

Published: August 24, 2010

by Alex Woodie

Peanut butter and jelly. Jimmy Page and Robert Plant. Some things are just better together. And with last month's release of the first beta for Zend Studio 8, Zend Technologies is making the case that JavaScript, the foremost client-side scripting language, and PHP, the popular server-side scripting language, should be developed together, in the same IDE, where they can harmoniously interact, to the betterment of society--not to mention the Web development project at hand.

Once maligned for its role in Internet security breaches--particularly for cross-site scripting flaws, which is still a big concern--JavaScript is surging in popularity these days as the key component in AJAX (Asynchronous JavaScript and XML).

AJAX, of course, refers to a common group of technologies used to write interactive Web applications that function like ordinary PC applications. Some call these "rich Internet applications," or RIAs, while others refer to them as Web 2.0 apps. Whatever you call them, the key ingredient in these highly interactive Web applications is almost always JavaScript.

PHP, on the other hand, is a server-side scripting language. Yes, PHP was originally created as a general purpose scripting language that could run, like JavaScript, directly in the Web browser. But today, PHP almost always runs on the Web server, where it interacts closely with the underlying database powering the Web application. Usually, this database is MySQL, but thanks to the close working relationship between Zend Technologies and IBM, PHP developers targeting the IBM i server have the option of running their PHP apps directly against DB2/400.

A PHP developer has several options for writing the front-end user interface of a Web application, including static HTML, creating HTML dynamically on the fly, or using a scripting language like JavaScript. With Zend Studio 8, using JavaScript as the front-end for PHP apps developed with Zend tools becomes almost a no-brainer. For many PHP developers who already use JavaScript, the enhancements in Studio 8 just made their lives easier.

Zend Studio 8 brings JavaScript directly into the integrated development environment (IDE). It now includes built-in support for the most popular open source JavaScript libraries, including jQuery, Dojo, ExtJs, and Prototype. This gives developers so-called "content assist" capabilities, such as code completion and completing JavaScript proposals and arguments. (Content assist was previously available for Dojo, but now other libraries are supported, too.) Developers can also drag and drop chunks of JavaScript code in their IDE, just as they do for PHP.

The new release also allows JavaScript and AJAX screens to be debugged using the same set of tools used to debug PHP. This eliminates the need to bring in a separate set of tools to debug JavaScript, and should speed up the development process. Zend says it will also allow developers to write cleaner, more secure code.

The capability to write more secure AJAX applications should be very important for PHP developers--particularly the business-minded developers targeting the IBM i platform. If there's one knock on AJAX and JavaScript, it's that all the Web 2.0 eye candy provides a plethora of avenues for hackers to get in and do their (dirty) business. Streamlining the JavaScript development and debugging process should make it easier for developers to ensure that they have locked down the most obvious ingress points, thereby providing an additional element of security for their business applications.

Zend also gives developers new tools for finding out what's slowing down their applications. The new Request Monitor allows developers to analyze the execution of their Web pages from the point of view of JavaScript, CSS, and DOM source and events.

The integration of JavaScript is the big new feature with the first beta of Zend Studio 8. But Zend added a range of other PHP development capabilities, including: new debugging functions; new content assist capabilities; advanced syntax coloring; quick outline views for inherited members; a decorated hover information box; and a new PHP search dialog box.

Zend Studio 8 Beta 1 is available now, in X64 and IBM i flavors. Both editions of the IDE are available for Windows, Linux, and Mac OS X operating systems. The beta can be downloaded at www.zend.com/en/products/studio/download-8-beta.

In other news, Zend last week announced the opening of registration for ZendCon 2010, which will be held November 1-4 at the Santa Clara Convention Center in Santa Clara, California. Among the nine tracks available will be one track devoted exclusively to running PHP on IBM i. Early birds who register before September 19 can get access to the conference and all tutorials for $1,195, or $945 for just the conference. For more info on ZendCon 2010, see zendcon.com/registration.


Zend Server for i/OS Now Available

Zend Server 5.0 to Run on i OS

PHP Application Vendors Gearing Up for Smart Cube Appliances

Zend's PHP to be Preloaded Onto IBM i OS

Zend Puts 5250 Bridge Into Zend Platform for PHP

Zend Puts Out New Release of Commercial-Grade PHP

Zend Technologies and COMMON Create PHP Advisory Group

Zend Core for i5/OS Ships for OS/400 V5R3

                     Post this story to del.icio.us
               Post this story to Digg
    Post this story to Slashdot

Sponsored By

DBU 9.0 Now Available!

Just when you thought DBU had it all, we've added MORE!

                                                                 New DBUSQL command
                                                                 Enhanced Audit Logging
                                                                 Execute DBUJRN in batch
                                                                 Supports DBCS for Chinese,
                                                                   Korean and Japanese
                                                                 Wizard-based DBU security set-up


Download today!

Editor: Alex Woodie
Contributing Editors: Dan Burger, Joe Hertvik,
Shannon O'Donnell, Timothy Prickett Morgan
Publisher and Advertising Director: Jenny Thomas
Advertising Sales Representative: Kim Reed
Contact the Editors: To contact anyone on the IT Jungle Team
Go to our contacts page and send us a message.

Sponsored Links

SEQUEL Software:  FREE Webinar. Aug 25. Learn how SEQUEL simplifies EnterpriseOne data access.
PowerTech:  FREE Webinar! Top 10 IBM i Security Risks. August 25, 10 a.m. CT
COMMON:  Join us at the Fall 2010 Conference & Expo, Oct. 4 - 6, in San Antonio, Texas


IT Jungle Store Top Book Picks

Easy Steps to Internet Programming for AS/400, iSeries, and System i: List Price, $49.95
The iSeries Express Web Implementer's Guide: List Price, $49.95
The System i RPG & RPG IV Tutorial and Lab Exercises: List Price, $59.95
The System i Pocket RPG & RPG IV Guide: List Price, $69.95
The iSeries Pocket Database Guide: List Price, $59.00
The iSeries Pocket SQL Guide: List Price, $59.00
The iSeries Pocket Query Guide: List Price, $49.00
The iSeries Pocket WebFacing Primer: List Price, $39.00
Migrating to WebSphere Express for iSeries: List Price, $49.00
Getting Started With WebSphere Development Studio Client for iSeries: List Price, $89.00
Getting Started with WebSphere Express for iSeries: List Price, $49.00
Can the AS/400 Survive IBM?: List Price, $49.00
Chip Wars: List Price, $29.95

The Four Hundred
IBM Ducks i Pricing on Most Entry Power7 Servers

BladeCenter S Express i Edition Gets a Power7 Upgrade

The Power 795: Cheaper Performance, Expensive Software

As I See It: The Once and Future HP Way

An Encryption Horror Story

Four Hundred Guru
Remove Trailing Blanks from Legacy Columns with the IBM OLE DB Providers

How Did I Do That?

Admin Alert: Six Things You May Not Know About i/OS Passwords

Four Hundred Monitor
Four Hundred Monitor's
Full iSeries Events Calendar

System i PTF Guide
August 7, 2010: Volume 12, Number 32

July 31, 2010: Volume 12, Number 31

July 24, 2010: Volume 12, Number 30

July 17, 2010: Volume 12, Number 29

July 10, 2010: Volume 12, Number 28

July 3, 2010: Volume 12, Number 27

TPM at The Register
US puts $30bn of IT projects up for review

AMD nabs ex-Intel techie as server CTO

Oracle names self virtualization king

Big biz loved Dell servers and storage in Q2

Mobile PC buyers buying peppier boxes

HP rings up Hurd's final quarter

HP hires headhunter to replace Hurd

AIX 7.1 moves forward to Power7 iron

Amazon challenges cloudy startups

IBM whips out its TPC-C...cluster

SGI previews Q4 financials

IBM completes Power7 server arsenal


ProData Computer Services
DRV Technologies
RJS Software Systems

Printer Friendly Version

PHP and JavaScript Come Together in Zend Studio 8

SafeStone Taps RSA for SIEM Expertise

SkyView Gets Tough on User Profiles

Profound Updates I/O Handler for RPG Open Access

IGEL Adds 5250 Emulation to Linux Thin Clients

News Briefs and Product Shorts:

LogLogic Strives to Create Better Visibility of Log Data . . . Third-Party ERP Support Does Save Money, Nucleus Says . . . RentalMan Gets Hooks into IntelliChief . . . IBS Launches New BI, CRM Products . . . ACOM to Throw In Free Printer on Software Sale . . .

Four Hundred Stuff


Subscription Information:
You can unsubscribe, change your email address, or sign up for any of IT Jungle's free e-newsletters through our Web site at http://www.itjungle.com/sub/subscribe.html.

Copyright © 1996-2010 Guild Companies, Inc. All Rights Reserved.
Guild Companies, Inc., 50 Park Terrace East, Suite 8F, New York, NY 10034

Privacy Statement