Saturday, February 2, 2008

Installing Tomcat 6 on Ubuntu

Installing Tomcat 6 on Ubuntu

When editing the .bashrc file in vi and after entering the code indicated in the tutorial, press the ESC key then Shift + :, then type wq after the colon to save the changes and close the file.

To start up Tomcat type:

sudo /usr/local/tomcat/bin/startup.sh

This shows:

Using CATALINA_BASE: /usr/local/tomcat
Using CATALINA_HOME: /usr/local/tomcat
Using CATALINA_TMPDIR: /usr/local/tomcat/temp
Using JRE_HOME: /usr/lib/jvm/java-6-sun

To access the Tomcat Web Application Manager:

1. Edit the tomcat-users.xml and add the following between the <tomcat-users> element tags:

<role rolename="manager"/>
<user username="tomcat" password="s3cret" roles="manager"/>

sudo vim usr/local/tomcat/conf/tomcat-users.xml

Friday, October 12, 2007

.NET 2.0: Creating Custom Providers for MySQL

These are some useful articles on creating custom Membership, Role and Profile providers for MySQL as well as a step-by-step guide to using MySQL with ASP .NET.

Membership and Role providers for MySQL

C# MySQL Profile Provider for .NET 2.0

A Step-by-Step Guide To Using MySQL with ASP.NET - Part 1

Thursday, October 4, 2007

Creating Flex User Interfaces with Thermo



A recent blog post by Marco Casario describes an upcoming designer tool for creating Flex user interfaces, code named Thermo.

The post includes videos* of the presentation of the new tool being developed. The presentation included a walk-through of how the tool can easily import a layered Photoshop file and how easy it was to create a functional user interface from the selected layers.

More information on Thermo is available at Adobe Labs.

*(supplied by Aral Balkan on YouTube)

Sunday, September 30, 2007

Creating ActionScript 3.0 components in Flash

A recent tutorial has just been published about creating ActionScript 3.0 components for Flash CS3.

The tutorial published last September 28 by Jeff Kamerer, focuses on:

"Creating a FLA-based editable component, built in the same style as the User Interface components, is the primary focus of this series. But I will briefly cover how to create a SWC-based, non-editable component as well."

Several PDF downloads are also available which provides more information about the component infrastructure.

Saturday, September 29, 2007

ASTRA: ActionScript Toolkit for Rich Applications

I just discovered that Yahoo's Developer Network provides BSD licensed Flash CS3 components, called ASTRA.

"ASTRA, the ActionScript Toolkit for Rich Applications, is Yahoo!’s collection of Flash and Flex components, libraries, toolkits and advanced applications. These libraries are open-source and available under the BSD license."

Wednesday, September 12, 2007

How To Create Flash CS3 Components

The documentation provided in Flash contains information regarding customizing or skinning the components that come with Flash CS3.

Documentation and tutorials are available for the creation of Flex components. A Flex Component Kit for Flash CS3 is provided on Adobe Labs for the creation of components for Adobe Flex using Flash CS3. Flex provides more components and more documentation regarding the creation of custom components for Flex applications.

These links, however, provide useful information regarding how to create custom components in Flash CS3.

Create .fla components for Flash CS3

Building Flash CS3 components

Creating FLA-Based Components in Flash CS3

Monday, August 20, 2007

Installing PRADO Framework on GoDaddy Shared Hosting

I found this blog post helpful while installing PRADO on my GoDaddy Linux hosting account.

Basically in GoDaddy when enabling PHP5 you can specify what extension to use to run PHP scripts with PHP5 or PHP4. If I recall correctly by default, you would need to have index.php5 to run php scripts using PHP5.

Hopefully PRADO will work in my GoDaddy hosting account.

I was able to successfully install PRADO on my GoDaddy Linux hosting account. I had to rename the extensions to php5 to get the scripts to work. Hopefully adding an .htaccess file will allow .php to be run with PHP5. I have to wait an hour before the .htaccess cache will be reset.

The following are useful links in the GoDaddy Help Center:

Can I run both PHP 4 and PHP 5 applications on my hosting account?

How do I use htaccess to manage my PHP file extensions?

Do you disable any PHP functions on your Linux hosting accounts?

How do I manage Hosting Configuration 2.0?

Checkout the successful requirements checker here.