Tag Archives: Platforms

How to Install Zend Framework

What are Frameworks?

A Framework is a collection of reusable items or steps in a repeatable process.  A software application framework is a well-defined Application programming interface (API) that serves as abstraction layers that separate business logic from application logic.  Application frameworks usually leverage object-oriented programming techniques to extend the current purpose to serve custom needs.  Combining server-side frameworks with client-side frameworks improves development time and reduces cost while supporting the concepts of Rapid Application Development (RAD).  A popular framework architectural pattern is Model-View-Controller (MVC).  The MVC architectural pattern increases application flexibility and reduces the complexity in architectural design by decoupling models and views.

What is Zend Framework?

The Zend Framework extends the art & spirit of PHP, Zend Framework is based on simplicity, object-oriented best practices, corporate friendly licensing, and a rigorously tested agile codebase. Zend Framework is focused on building more secure, reliable, and modern Web 2.0 applications & web services, and consuming widely available APIs from leading vendors like Google, Amazon, Yahoo!, Flickr, as well as API providers and cataloguers like StrikeIron and ProgrammableWeb.

Installing Zend Framework

Connect to your server with a command line tool like PuTTY, Apple Mac users can simply use a Terminal window.  Navigate to a directory that is NOT the Document Root or any directory in the web server’s “include” path.  The Zend Framework installation described here will allow the user to change the version of Zend Framework at will by using a symbolic link for the Zend installation files.  This method will allow developers to change versions “on-the-fly” without the need for restarting web servers.  Learn how to setup a web server at “How to Setup a Virtual Web Server in 10 Minutes“.

Install Zend Framework with Wget

Install Zend Framework with Subversion

Zend Framework Web Server Integration

Use the wGet or Subversion method above to get the package files, then integrate the framework into the existing web server with the following steps.

Welcome to the Zend Framework

Open a web browser and navigate to “http://{replace this with real host name}/quickstart” to see the “Welcome to the Zend Framework” message.

Open a web browser and navigate to “http://{replace this with real host name}/quickstart/index/add” to see a simple message from the code that was automatically written from using the Zend Tool in the previous steps.

Additional tips and information is available from Zend’s Quick Start Guide.  Software developers can also use Eclipse for application development with Eclipse plug-ins supporting this framework or Zend Studio.  Adobe Dreamweaver users can support Zend in their IDE as outlined in this article “Using Adobe Dreamweaver to color code modules, zend templates, & other file types“.

Software Integration Summary

  • Improved Security by storing sensitive information such as database user name and password in configuration files outside of document root.
  • Provided Version Control by using a symbolic link to software package.  Software developers not using Subversion can change the version of the software by downloading the required version into a new directory and update the Zend symbolic link to point to the new directory.  Software developers using Subversion can manage the software with simple Subversion  Commands and Scripts.
  • Automatic Code Generation by configuring and using Zend Tool to automatically generate code.
  • Integrated by integrating this software into an existing web server environment, developers can leverage existing IT investments.  This server-side framework can also be integrated with a client-side framework to support AJAX and Web 2.0 Technologies across multiple devices.  Here are 3 AJAX Frameworks that can support Custom Dashboards on Apple iPads.

How to Setup a Virtual Web Server in 10 Minutes

Virtual Hosting

Virtual hosting is a method for hosting multiple domain names on a computer using a single IP address. This allows one machine to share its resources, such as memory and processor cycles, to use its resources more efficiently.

Introduction

This article will walk the reader through a few simple steps on how to setup a virtual web server in 10 minutes.  The steps outlined here describe how to install Apache Web Server with the MySQL Database, PHP, & Perl.  This is a tutorial on how to setup a virtual web server on the Apple Macbook Pro, but the same steps apply for a Microsoft Windows computer with a few simple modifications.

The Apple Macbook Pro OS X already comes bundled with a web server.  This Mac OS X web server can be enabled by following the steps outlined in this article, “How to set up a Web Server in Mac OS X Leopard“.

This tutorial will show how to install and configure a virtual web server for web development that can be removed at will.  Web developers experimenting with cutting edge technologies and custom configurations usually need multiple environments.

Please use caution when installing new software on computer systems.  A Best Practice includes creating system backups before changes.

1. How to Install Open Source Software

The good people at Apache Friends have made this step extremely easy.  People can download an Apache distribution containing MySQL, PHP and Perl in the XAMPP package.  Download and install XAMPP by following the steps defined at http://www.apachefriends.org/en/xampp.html

2. Edit the Local Host File

The entries in this file start with something like this:

add the new server name to the bottom of the list here

Press control-o to save the file, then enter, and control-x to exit the editor.
Flush the DNS Cache to activate changes

3. Update the Virtual Host File

This file will look very similar to the text below. Delete everything in this file and add the virtual host information.

New Virtual Host File

4. Update the HTTPD Config File

Remove the comment from #Include /Applications/xampp/etc/extra/httpd-vhosts.conf
Original line

Updated line

Create a test file for the “Document Root” folder identified in the new virtual host and save it as “index.php”.

5. Viewing The Virtual Environment

Navigate to “/Applications/XAMPP” and run XAMPP Control

Start the database and web server from the XAMPP Control

Open a web browser and navigate to http://localhost and see the default XAMPP page.

Open a web browser and navigate to http://localhost/phpmyadmin/ and see the MYSQL database manager.

Open a web browser and navigate to http://virtualserver1.dev/index.php and see the test page from the new virtual web server.

Adding Additional Virtual Web Servers

Additional virtual web servers can be created by repeating steps 2 & 3.  The new virtual web servers will need unique names, for example: “virtualserver2″, “virtualserver3″, “virtualserver4″, or “mydevserver”.

Fixing MySQL error 13 on Mac OS X 10.6.x: This error usually occurs when the curly quotes are used in the configuration files, which happens when copying and pasting code from the web.  This error can be fixed by changing these “HTML quotes” to normal “quotes”.

Summary

Setting up virtual web servers in the development environment is a very simple task.  Local instances of web server software allows web developers to experiment with features of web applications like WordPress blog software.  The new features can be tested locally before implemented in a production environment.  Each of these virtual environments can be configured to meet custom needs.  Learn more about Apache Web Server Name-based Virtual Hosting here.

Note: The “Document Root” is outside of the web server software installation, which allows replacing the current web server software with something like “Zend Server” without disrupting current web site files.

Social Business Gets Sexy in Enterprise 2.0

Enterprise 2.0 & the Sexy Side of Integration with SOA

The Social Business Strategy of Enterprise 2.0

Successful Enterprise 2.0 is all about integration.  This integration goes beyond using technology to connect data & systems.  Enterprise 2.0 integration includes a Social Business Strategy.  Some of these strategic integration points include:

  • Integrating Culture
  • Integrating Partners, Customers, & Vendors
  • Integrating Interactive Design Principals
  • Integrating The Dispersed Workforce
  • Integrating Support for Multiple Needs & Devices

Service-Oriented Architecture (SOA) supports using technology to loosely couple systems and social business integration.  Some great guiding principals for Enterprise 2.0 Strategy are defined in the SOA Manifesto.  The SOA Manifesto priorities include:

  • Business value over technical strategy
  • Strategic goals over project-specific benefits
  • Intrinsic interoperability over custom integration
  • Shared services over specific-purpose implementations
  • Flexibility over optimization
  • Evolutionary refinement over pursuit of initial perfection

Great principals for supporting a solid Enterprise 2.0 Strategy can be found in the Guiding Principles section of the SOA Manifesto.

Sexy Enterprise 2.0?

“Enterprise 2.0 Solutions will become very sleek and sexy.” is a statement from this article: Collection of Enterprise 2.0 Predictions & Tech Trends for 2011.

Employers and employees are already seeing the sexy side of Social Business in Enterprise 2.0 with the release of tibbr for the Enterprise.  TIBCO tibbr supports context integration to give people and data more meaning.  The functionality broken down into the simple form allows people to follow people and data.  There is also integration support for Facebook, Twitter, and other Social Networks.  Dennis Howlett wrote a great article about TIBCO tibbr that includes this excerpt “.. it is further eroding the boundaries between siloed operations ..”  You can read his full article here.

What is TIBCO tibbr?

TIBCO tibbr is the first social computing tool specifically built for the workplace that allows the right information to find you.

Unlike social networking applications that focus on the concept of “following people,” tibbr is the first to take an entirely new approach to social computing by allowing you to follow subjects, applications, and social event streams. Learn more here.

tibbr-enterprise-2-0-social-business

Happy Fav Five Friday!

Top 5 Places This Week

  1. What are the distinctions between Social Business and Enterprise 2.0?
  2. Rethinking the Future of Business Part 2: Building the Framework
  3. What Social Media and Enterprise 2.0 Can Bring to HR Processes
  4. What’s The Difference Between Game Mechanics in the Enterprise and Good Management?
  5. How to Build a mobile app on Apple iPhone using Sencha JavaScript Framework

Enterprise 2.0 Social Business Collaboration

Call it “Enterprise 2.0” or “Social Business“, it’s all about building relationships and fostering collaboration.  These conversations around Business Strategy and Social Enterprise reminds me of this presentation “Enterprise 2.0 – Efficient Collaboration and Knowledge Exchange“.

Web 2.0 Summit: The Future Strategy of Web Technologies

Web 2.0 Summit: Points of Control

More than any time in the history of the Web, incumbents in the network economy are consolidating their power and staking new claims to key points of control.  The Web 2.0 Summit, hosted by John Battelle ( @johnbattelle ) and Tim O’Reilly ( @timoreilly ) was packed with brilliant thoughts from intelligent leaders in the web / business space.  New business innovators from Google, Twitter, Facebook, Baidu, and many other properties in the global web space eagerly shared their current insights and ideas about the future.  This year’s theme was about Points of Control, as you can see in this interactive Points of Contorl Map.  You can learn more about this map here.  Thanks to O’Reilly Meida for another great event.

Web 2.0 Summit: Points of Control

Five Key Strategies From The Web 2.0 Summit

  1. Go Social/Mobile or Become Irrelevant
  2. Build A Diverse Empire, Measure, Refine
  3. Learn Everything You Can About Social Behavior
  4. Share Value of Collective Intelligence
  5. Focus on User Experience

Fav Five Web 2.0 Summit Videos

Web 2.0 Summit (formerly named Web 2.0 Conference) brings the intelligence, innovation, and leadership of the Internet industry together in one place at one time. Through incisive plenary sessions, frank onstage conversations, rapid-fire “high order bits,” and Launch Pad, visionaries and executives from across the Internet economy present their unique perspective on the Web’s future. Web 2.0 Summit is brought to you in partnership with O’Reilly Media, Inc. and TechWeb and moderated by John Battelle, Program Chair, and O’Reilly CEO and founder, Tim O’Reilly in association with Federated Media.  You can see all the Web 2.0 Summit videos here.  I have included five of my favorite videos below.

Web 2.0 Summit 2010: “A Conversation with Google’s Eric Schmidt”

Watch the conversation with Google’s Erick Schmidt video here.

Web 2.0 Summit 2010: “A Conversation with Facebook’s Mark Zuckerberg”

Watch this conversation with Facebook’s Mark Zuckerberg video here.

Web 2.0 Summit 2010: “A Conversation with Twitter’s Evan Williams”

Watch this conversation with Twitter’s Evan Williams video here.

Web 2.0 Summit 2010: Mary Meeker on “Internet Trends”

Watch this “Internet Trends” presentation by Mary Meeker video here.

Web 2.0 Summit 2010: Zynga’s Mark Pincus on “Playing for High Stakes in the New App Economy”

Watch this Social Gaming presentation by Zynga’s Mark Pincus here.

Fav Five Places

  1. Live Blogging Baidu CEO Robin Li At Web 2.0 Summit
  2. The TechCrunch Guide to the Web 2.0 Summit
  3. Google CEO: Android update “could replace credit cards”
  4. Web 2.0 Summit November 15-17 San Francsico, Part 6–Mark Zuckerberg Keynote Interview
  5. Web 2.0 Summit focuses on mapping Net economy’s ‘points of control’

Web 2.0 Expo: The Future of the Web, A Platform Strategy

You can learn how to use persuasive design to encourage positive user behavior and more from these Web 2.0 Expo videos here.

Picture 18

Fav Five Faces

Who is on your “Fantasy Innovation Team” this week?

Here are amazing people that have connected me to new friends and new ideas this week. You might be familiar with “Fantasy Football Teams” , well this is my “Fantasy Innovation Team” this week. I recommend following these smart, creative people on Twitter.

timoreilly-twitter Founder and CEO, O’Reilly Media. Watching the alpha geeks, sharing their stories, helping the future unfold. http://twitter.com/timoreilly
johnbattelle-twitter Media, Technology, Culture, Business http://twitter.com/johnbattelle
ev-twitter Farm boy from Nebraska. Husband and father. Co-founder of Twitter. http://twitter.com/ev
ericschmidt-twitter CEO Google http://twitter.com/ericschmidt
timberners_lee-twitter Director of the World Wide Web Consortium (W3C) w3.org, the place to agree on web standards. Founded new webfoundation.org – let the web serve humanity http://twitter.com/timberners_lee

Top 10 Takeaways from @ev’s Twitter #TED Talk

Twitter CEO Evan Williams @ev on Twitter #TED

The Art of Listening and Enabling

Evan Williams @ev, the CEO of Twitter gives a TED Talk about Twitter.  In the birthing room of ODEO, Twitter is born from Jack Dorsey’s @Jack idea of sending status updates.  Evan covers many fundamental keys to success in this video.  Thanks to Dr. Harish Kotadia @HKotadia for bringing this to my attention.

Top 10 Takeaways from @ev’s Twitter #TED Talk

  1. Listen to your inner voice (Follow your hunches)
  2. Listen to your colleagues
  3. Listen to your audience/customers/clients
  4. Expect the unexpected
  5. Adapt to customer/client needs
  6. Create a system that enables others to build upon
  7. Application Programming Interface (API) enables creative interactions
  8. More Good Things happen when you enable connections & collaboration
  9. Never assume what’s Next
  10. Understand culture/market Trends