Category Archives: Open Source

How to Create an XML AJAX App with Open Standards

Data Integration & User Interaction with Open Standards

Open Standards and the W3C

On November 12, 1990 Sir Tim Berners-Lee @timberners_lee submitted a paper that would change the world, this paper was the WorldWideWeb: Proposal for a HyperText Project.  Sir Tim Berners-Lee leads the World Wide Web Consortium (W3C).  The W3C is an international community where Member organizations, a full-time staff, and the public work together to develop Web standards. Led by Web inventor Tim Berners-Lee and CEO Jeffrey Jaffe, W3C’s mission is to lead the Web to its full potential.  The W3C is having it’s very first Developer’s Conference (Free Streaming Video Available)  #W3Conf @w3cConf on November 15 – 16, 2011, “W3Conf Developer Conference“.

Data and Services Integration

Integration of heterogeneous data and services has always been a concern for creators and managers of services. With the emergence of the Web, the need for reusing data and services became even stronger, as the number of available services raised.

Cloud-based services are also created using different paradigms and present the same challenges as the ones found in Enterprise Services, or on the Open Web, and the opportunity to create mashups of services using different models.

There is currently extensive deployment experience with Web Services; the Semantic Web is more mature; and the XML Stack has become ubiquitous. The increasing use of JSON-based services and Cloud-based computing combined with experience and maturity of the XML-based services and of the Semantic Web technologies suggests that now is a good time to find ways to bridge and combine these various technologies to make a coherent platform for future business and technical work.  Additional information, reports, and presentations are available from this W3C Workshop. Continue reading

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.

Why I Hate Open Source!

Working with #opensource: Upgrading

I manage a Social Media Platform created from Open Source software and here are the INSANE steps I go through for updates.

Step 1

Click on “upgrade automatically”.

buddypress-update-step-1

Step 2

Enter connection information.

buddypress-update-step-2

Step 3

Click on “activate plugin”, which returns me to a page showing “Plugin Activated”.

buddypress-update-step-3

Can you see why I hate Open Source?

I hate open source software, because it’s too easy! In the past, this type of process would take a specialized team of people hours upon hours to complete.  This task was completed in less than 10 minutes, thanks to Open Source and the brilliant members of #opensource communities.

Now I have the the time and money to go shoe shopping with my wife, thanks a lot #opensource?!?!  My wife overheard me and my associates talking about moving this platform into the cloud.  The cloud computing solution will save us even more money and time.  My wife is so excited, she added an additional page to the “honey do” list.

Special Thanks!

A special “Thank you!” to members of open source development communities.  I understand most of you have full-time jobs, families, and other interests.  You volunteer your time during lunch breaks, weekends, and the midnight hour to solve problems and share solutions.  My colleagues and I, plus countless people around the world have more time to focus on relationships with people around us because of your tireless dedication.  Thank You!

I also appreciate the work of Matt Mullenweg creator of WordPress and founder of Automatic.  Thanks to Andy Peatling and the BuddyPress Community.  You should see this article by Andy: “Give a Little“.

BuddyPress: Social networking in a box

Build a social network for your company, school, sports team or niche community all based on the power and flexibility of WordPress.

Visit BuddyPress.org
Visit BuddyPress.org

Cloud Computing with Amazon E2C

Amazon Elastic Compute Cloud (Amazon EC2) is a web service that provides resizable compute capacity in the cloud. It is designed to make web-scale computing easier for developers.

Visit Amazon Elastic Compute Cloud
Visit Amazon Elastic Compute Cloud