<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="http://www.hiveminds.co.uk/feed.xsl" ?>
<?xml-stylesheet type="text/css" href="http://www.hiveminds.co.uk/feed.css" ?>
<rss version="2.0" xml:base="http://www.hiveminds.co.uk">
<channel>
 <title>Hiveminds Magazine - Tutorials</title>
 <link>http://www.hiveminds.co.uk/taxonomy/term/177/Tutorials</link>
 <description></description>
 <language>en</language>
 <copyright><![CDATA[Hiveminds Magazine copyrighted 2005-2006]]></copyright>
<item>
 <title>How to create administration  for Wordpress themes</title>
 <link>http://www.hiveminds.co.uk/node/3823</link>
 <description><![CDATA[On the Starscape blog Milan Petrovic shows how to create an end user backend for a Wordpress theme. Given how few tutorials there are out there about how to code for Wordpress this one is worth reading and saving to your hard drive.
Not many Wordpress themes have additional settings page where blog admins can adjust some of the themes settings. One of the reasons for this is hard to find examples describing in details what you need to do, although documentation has some basic info about that. Also, most themes don’t need such settings page, or is too hard to implement theme design that could be flexible to change like this.
tutorial_themecp_starscape.png
Most themes can be customized by editing php and css files, but this can be a problem for most users, who use blog as tool, and don’t know much about web design. For them it would be much more convenient to have simple page in their admin panel and selection of options to tweak.
This article will show you step by step how to create options page for your theme, how to save settings and how to use them in your theme.
]]></description>
<comments>http://www.hiveminds.co.uk/node/3823#comment-form</comments>
 <category domain="http://www.hiveminds.co.uk/taxonomy/term/177">Tutorials</category>
 <category domain="http://www.hiveminds.co.uk/taxonomy/term/238">Wordpress</category>
 <category domain="http://www.hiveminds.co.uk/taxonomy/term/714">Wordpress Developers Network</category>
<pubDate>Mon, 07 Jul 2008 22:37:54 -0700</pubDate>
<guid isPermaLink="true">http://www.hiveminds.co.uk/node/3823</guid>
</item>
<item>
 <title>How to install PHP PEAR on wampserver</title>
 <link>http://www.hiveminds.co.uk/node/3821</link>
 <description><![CDATA[Installing PEAR on the wampserver for windows is pretty straight forward and simple. But it is not easy to find if you are a beginner or not familiar with how PEAR works. This tutorial will take you step by step thruogh the set up and give some tips on how to make things more windows friendly.
]]></description>
<comments>http://www.hiveminds.co.uk/node/3821#comment-form</comments>
 <category domain="http://www.hiveminds.co.uk/taxonomy/term/164">Developer Zone</category>
 <category domain="http://www.hiveminds.co.uk/taxonomy/term/39">PHP</category>
 <category domain="http://www.hiveminds.co.uk/taxonomy/term/177">Tutorials</category>
<pubDate>Sun, 06 Jul 2008 08:22:52 -0700</pubDate>
<guid isPermaLink="true">http://www.hiveminds.co.uk/node/3821</guid>
</item>
<item>
 <title>Using and configuring Xampp for windows</title>
 <link>http://www.hiveminds.co.uk/node/3820</link>
 <description><![CDATA[Xampp seems to be becoming the default PHP development environment. It has in one package everything that is needed for just about any PHP project. What most that download and use Xampp do not do is read the readme.txt.
The Xampp readme.txt contains the configuration and installation instructions. Though this is generally not needed because Xampp is so user friendly, PHP developers should read it anyway. Especially if they a beginners.
###### ApacheFriends XAMPP (basic package) version 1.6.6a ######
Apache 2.2.8
MySQL 5.0.51a
PHP 5.2.5 + PHP 4.4.8 + PEAR
PHP-Switch win32 1.0 (please use the "php-switch.bat")
XAMPP Control Version 2.5 from www.nat32.com
XAMPP Security 1.0
SQLite 2.8.15
OpenSSL 0.9.8g
phpMyAdmin 2.11.4
ADOdb 4.96
Mercury Mail Transport System v4.52
FileZilla FTP Server 0.9.25
Webalizer 2.01-10
Zend Optimizer 3.3.0a
eAccelerator 0.9.5.2 for PHP 5.2.5  (comment out in the php.ini)
* System Requirements:
  + 64 MB RAM (RECOMMENDED)
  + 200 MB free fixed disk
  + Windows 98, ME
  + Windows NT, 2000, XP (RECOMMENDED)
---------------------------------------------------------------
* QUICK INSTALLATION:
[NOTE: Unpack the package to your USB stick or a partition of your choice.
There it must be on the highest level like E:\ or W:\. It will
build E:\xampp or W:\xampp or something like this. Please do not use the "setup_xampp.bat" for an USB stick installation!]   
Step 1: Unpack the package into a directory of your choice. Please start the
"setup_xampp.bat" and beginning the installation. Note: XAMPP makes no entries in the windows registry and no settings for the system variables.
Step 2: If installation ends successfully, start the Apache 2 with
"apache_start".bat", MySQL with "mysql_start".bat". Stop the MySQL Server with "mysql_stop.bat". For shutdown the Apache HTTPD, only close the Apache Command (CMD).
Step 3: Start your browser and type http://127.0.0.1 or http://localhost in the location bar. You should see our pre-made
start page with certain examples and test screens.
Step 4: PHP (with mod_php, as *.php, *.php3, *.php4, *.phtml), Perl by default with *.cgi, SSI with *.shtml are all located in =&amp;gt; C:\xampp\htdocs\.
Examples:
- C:\xampp\htdocs\test.php =&amp;gt; http://localhost/test.php
- C:\xampp\myhome\test.php =&amp;gt; http://localhost/myhome/test.php
Step 5: XAMPP UNINSTALL? Simply remove the "xampp" Directory.
But before please shutdown the apache and mysql.
---------------------------------------------------------------
* PASSWORDS:
1) MySQL:
   User: root
   Password:
   (means no password!)
2) FileZilla FTP:
   User: newuser
   Password: wampp 
   User: anonymous
   Password: some@mail.net
3) Mercury: 
   Postmaster: postmaster (postmaster@localhost)
   Administrator: Admin (admin@localhost)
   TestUser: newuser
   Password: wampp
4) WEBDAV:
   User: wampp
   Password: xampp
---------------------------------------------------------------
* ONLY FOR NT SYSTEMS! (NT4 | Windows 2000 | Windows XP):
- \xampp\apache\apache_installservice.bat
  ===&amp;gt; Install Apache 2 as service
- \xampp\apache\apache_uninstallservice.bat
  ===&amp;gt; Uninstall Apache 2 as service
- \xampp\mysql\mysql_installservice.bat
  ===&amp;gt; Install MySQL as service
- \xampp\mysql\mysql_uninstallservice.bat
  ===&amp;gt; Uninstall MySQL as service
==&amp;gt; After all un- / installations of services, better restart system!
----------------------------------------------------------------
A matter of security (A MUST READ!)
As mentioned before, XAMPP is not meant for production use but only for developers in a development environment. The way XAMPP is configured is to be open as possible and allowing the developer anything he/she wants. For development environments this is great but in a production environment it could be fatal. Here a list of missing security
in XAMPP:
- The MySQL administrator (root) has no password.
- The MySQL daemon is accessible via network.
- phpMyAdmin is accessible via network.
- Examples are accessible via network.
To fix most of the security weaknesses simply call the following URL:
	http://localhost/security/
The root password for MySQL and phpMyAdmin, and also a XAMPP directory protection can being established here.
---------------------------------------------------------------
* Apache Notes:
(1) In contrast of apache 1.x, you can not stop the apache 2.x with the command "apache -k shutdown". These functions only for an installations as service by NT systems. So, simply close
the Apache START command for shutdown.
(2) To use the experimental version of mod_auth_mysql remove the # in the httpd.conf. Detailed information about this topic can be found on the left menu of XAMPP, once you started it.
(3) To use Mod_Dav load the Modules mod_dav.so + mod_dav_fs.so in the "httpd.conf" by removing the # on
the beginning of their lines. Then try http://127.0.0.1:81 (NOT for Microsoft Frontpage, but for Adobe Dreamweaver!)
---------------------------------------------------------------
* MYSQL NOTES:
(1) The MySQL server can be started by double-clicking (executing) mysql_start.bat. This file can be found in the same folder you installed XAMPP in, most likely this will be C:\xampp\.
The exact path to this file is X:\xampp\mysql_start.bat, where "X" indicates the letter of the drive you unpacked XAMPP into. This batch file starts the MySQL server in console mode. The first intialization might take a few minutes.
Do not close the DOS window or you'll crash the server!
To stop the server, please use mysql_shutdown.bat, which is located in the same directory.
(2) To use the MySQL Daemon with "innodb" for better performance, please edit the "my" (or "my.cnf") file in the C:\xampp\mysql\bin directory or for services the c:\my.cnf for windows NT/2000/XP. In there, activate the "innodb_data_file_path=ibdata1:30M" statement. Attention, "innodb" is not recommended for 95/98/ME.
To use MySQL as Service for NT / 2000 / XP, simply copy the "my" / "my.cnf" file to "C:\my", or "C:\my.cnf". Please note that this file has to be placed in C:\ (root), other locations are not permitted. Then execute the "mysql_installservice.bat" in the mysql folder.
(3) MySQL starts with standard values for the user id and the password. The preset user id is "root", the password is "" (= no password). To access MySQL via PHP with the preset values, you'll have to use the following syntax:
	mysql_connect("localhost", "root", "");
If you want to set a password for MySQL access, please use of MySQL Admin.
To set the passwort "secret" for the user "root", type the following:
	C:\xampp\mysql\bin\mysqladmin.exe -u root -p secret
After changing the password you'll have to reconfigure phpMyAdmin to use the new password, otherwise it won't be able to access the databases. To do that, open the file config.inc.php in \xampp\phpmyadmin\ and edit the following lines:
	$cfg['Servers'][$i]['user']            = 'root';   // MySQL User
	$cfg['Servers'][$i]['auth_type']       = 'http';   // HTTP authentification
So first the 'root' password is queried by the MySQL server, before phpMyAdmin may access.
---------------------------------------------------------------    
		Have a lot of fun! | Viel Spaß! | Bonne Chance!

You can see that somethings like what passwords are used and what PHP packages are available are nice to know before hand. This save you a Google search and possible a newbie post at the forums. Even for veterans  it is not easy. I for instance wanted to use PEAR more often but found that wampserver did not have it install by default. So while looking for instructions on how to install it I found that Xampp has PEAR installed as default. Switching to Xampp saves me time and possibly the headache of a failed PEAR install. This is also a reminder to all, take the time to RTFM ( Read the fine manual )!]]></description>
<comments>http://www.hiveminds.co.uk/node/3820#comment-form</comments>
 <category domain="http://www.hiveminds.co.uk/taxonomy/term/164">Developer Zone</category>
 <category domain="http://www.hiveminds.co.uk/taxonomy/term/39">PHP</category>
 <category domain="http://www.hiveminds.co.uk/taxonomy/term/177">Tutorials</category>
<pubDate>Sun, 06 Jul 2008 03:35:07 -0700</pubDate>
<guid isPermaLink="true">http://www.hiveminds.co.uk/node/3820</guid>
</item>
<item>
 <title>How to bridge PHP and Java on Windows with Apache Tomcat</title>
 <link>http://www.hiveminds.co.uk/node/3814</link>
 <description><![CDATA[Want to run PHP and access Java? Here's how to do it on Windows XP using Apace and Apache Tomcat.
Try it using XAMPP
Although the tutorial show you how to do things by installing Apache Tomcat, this may not be ideal or what most want to do. One of the things that stopped me from digging into Java web development is the fact that setting up an environment on Windows is just as hard as finding a cheap Java web hosting company. That and the fact that I like to be able to turn my developmnet environments on and off. But now thanks to apachefriends.org half of my problem is solved. They have released an Apache XAMPP package with an easy to install Apache Tomcat add-on. I have been waiting a long time for this to happen. This event should make things even easier for  beginners.

php-5.1.6-Win32.zip

apache-tomcat-5.5.20.exe

php-java-bridge_3.2.1_j2ee.zip

jdk-1_5_0_10-windows-i586-p.exe

Windows XP Pro + SP2


Installation Directories

C:\PHP

C:\Program Files\Apache Group\Tomcat 5.5

C:\Program Files\Java\jdk1.5.0_10


Java

Make sure you set Environment Variables for Java (CLASSPATH and PATH). It looks like; 
CLASSPATH = .
JAVA_HOME = C:\Program Files\Java\jdk1.5.0_10
PATH = %PATH%;%JAVA_HOME%\bin




Apache Tomcat Server

Run apache-tomcat-5.5.20.exe. Click Next &amp;gt;.

Click I Agree.

Select "Full" from the dropdown, and then click Next &amp;gt;.

Click Next &amp;gt;. (in my case, C:\Program Files\Apache Group\Tomcat 5.5)

Enter an admin password, and then click Next &amp;gt;.

Verify the J2SE 5.0 JRE installation path is correct, and then click Install. (in my case, C:\Program Files\Java\jre1.5.0_10)

click Finish.

Open http://localhost:8080/ in your web browser. If you see something like the following, you have properly installed Tomcat!

]]></description>
<comments>http://www.hiveminds.co.uk/node/3814#comment-form</comments>
 <category domain="http://www.hiveminds.co.uk/taxonomy/term/164">Developer Zone</category>
 <category domain="http://www.hiveminds.co.uk/taxonomy/term/177">Tutorials</category>
 <category domain="http://www.hiveminds.co.uk/taxonomy/term/642">php-java</category>
<pubDate>Wed, 25 Jun 2008 07:54:13 -0700</pubDate>
<guid isPermaLink="true">http://www.hiveminds.co.uk/node/3814</guid>
</item>
<item>
 <title>How to Bridge PHP and Java for Powerful Web Solutions</title>
 <link>http://www.hiveminds.co.uk/node/3172</link>
 <description><![CDATA[Here's how to team up two of the most popular and powerful platforms for web development together. With the php-java bridge you can build classes and jar files in Java and call them and use their methods in PHP. Use the quick and easy PHP language to bring Java muscle to your web pages.
]]></description>
<comments>http://www.hiveminds.co.uk/node/3172#comment-form</comments>
 <category domain="http://www.hiveminds.co.uk/taxonomy/term/177">Tutorials</category>
 <category domain="http://www.hiveminds.co.uk/taxonomy/term/184">Web Developer</category>
 <category domain="http://www.hiveminds.co.uk/taxonomy/term/642">php-java</category>
<pubDate>Wed, 25 Jun 2008 03:55:42 -0700</pubDate>
<guid isPermaLink="true">http://www.hiveminds.co.uk/node/3172</guid>
</item>
<item>
 <title>How to bridge PHP and Java on Windows IIS</title>
 <link>http://www.hiveminds.co.uk/node/3811</link>
 <description><![CDATA[In a previous tutorial it was shown how to set up the php/java bridge on Windows using the Apache
web server. In this tutorial you learn how to do the same using Windows IIS web server. Though this is a
beginners tutorial you are expected to have some familiarity with IIS. Notice that the version of the PHP Java  bridge used is the older version 3.2.1. 
]]></description>
<comments>http://www.hiveminds.co.uk/node/3811#comment-form</comments>
 <category domain="http://www.hiveminds.co.uk/taxonomy/term/177">Tutorials</category>
 <category domain="http://www.hiveminds.co.uk/taxonomy/term/184">Web Developer</category>
 <category domain="http://www.hiveminds.co.uk/taxonomy/term/642">php-java</category>
<pubDate>Tue, 24 Jun 2008 22:43:03 -0700</pubDate>
<guid isPermaLink="true">http://www.hiveminds.co.uk/node/3811</guid>
</item>
<item>
 <title>toolbar.helloworld.html.php</title>
 <link>http://www.hiveminds.co.uk/node/3744</link>
 <description><![CDATA[toolbar.helloworld.html.php
]]></description>
<comments>http://www.hiveminds.co.uk/node/3744#comment-form</comments>
 <category domain="http://www.hiveminds.co.uk/taxonomy/term/164">Developer Zone</category>
 <category domain="http://www.hiveminds.co.uk/taxonomy/term/181">Joomla</category>
 <category domain="http://www.hiveminds.co.uk/taxonomy/term/177">Tutorials</category>
<pubDate>Wed, 07 May 2008 13:32:00 -0700</pubDate>
<guid isPermaLink="true">http://www.hiveminds.co.uk/node/3744</guid>
</item>
<item>
 <title>toolbar.helloworld.php</title>
 <link>http://www.hiveminds.co.uk/node/3743</link>
 <description><![CDATA[toolbar.helloworld.php
]]></description>
<comments>http://www.hiveminds.co.uk/node/3743#comment-form</comments>
 <category domain="http://www.hiveminds.co.uk/taxonomy/term/164">Developer Zone</category>
 <category domain="http://www.hiveminds.co.uk/taxonomy/term/181">Joomla</category>
 <category domain="http://www.hiveminds.co.uk/taxonomy/term/177">Tutorials</category>
<pubDate>Wed, 07 May 2008 13:27:00 -0700</pubDate>
<guid isPermaLink="true">http://www.hiveminds.co.uk/node/3743</guid>
</item>
<item>
 <title>admin.helloworld.php</title>
 <link>http://www.hiveminds.co.uk/node/3742</link>
 <description><![CDATA[admin.helloworld.php
]]></description>
<comments>http://www.hiveminds.co.uk/node/3742#comment-form</comments>
 <category domain="http://www.hiveminds.co.uk/taxonomy/term/164">Developer Zone</category>
 <category domain="http://www.hiveminds.co.uk/taxonomy/term/181">Joomla</category>
 <category domain="http://www.hiveminds.co.uk/taxonomy/term/177">Tutorials</category>
<pubDate>Wed, 07 May 2008 13:23:00 -0700</pubDate>
<guid isPermaLink="true">http://www.hiveminds.co.uk/node/3742</guid>
</item>
<item>
 <title>Create a MVC component for Joomla 1.5 - Hello World</title>
 <link>http://www.hiveminds.co.uk/node/3737</link>
 <description><![CDATA[One of the hardest things to do in any of the more popular CMS is to create and extension or module. This is because the easier it is for the end user the more complicated the code and procedure become for the programmer. If you are not the originating programmer then you have your work cut out for you. Depending on the level of documentation and the willingness of others to part with needed information it can be easy or hard. Sometimes though you just need a good "Hello world" script to get you started in the right direction. 
]]></description>
<comments>http://www.hiveminds.co.uk/node/3737#comment-form</comments>
 <category domain="http://www.hiveminds.co.uk/taxonomy/term/164">Developer Zone</category>
 <category domain="http://www.hiveminds.co.uk/taxonomy/term/181">Joomla</category>
 <category domain="http://www.hiveminds.co.uk/taxonomy/term/177">Tutorials</category>
<pubDate>Wed, 07 May 2008 13:22:25 -0700</pubDate>
<guid isPermaLink="true">http://www.hiveminds.co.uk/node/3737</guid>
</item>
<item>
 <title>com_helloworld.xml</title>
 <link>http://www.hiveminds.co.uk/node/3741</link>
 <description><![CDATA[com_helloworld.xml
]]></description>
<comments>http://www.hiveminds.co.uk/node/3741#comment-form</comments>
 <category domain="http://www.hiveminds.co.uk/taxonomy/term/164">Developer Zone</category>
 <category domain="http://www.hiveminds.co.uk/taxonomy/term/181">Joomla</category>
 <category domain="http://www.hiveminds.co.uk/taxonomy/term/177">Tutorials</category>
<pubDate>Wed, 07 May 2008 13:14:00 -0700</pubDate>
<guid isPermaLink="true">http://www.hiveminds.co.uk/node/3741</guid>
</item>
<item>
 <title>How to use Simple XML in PHP5 to parse XML</title>
 <link>http://www.hiveminds.co.uk/node/3736</link>
 <description><![CDATA[The SimpleXML extension in PHP5 provides a very simple and easily usable toolset to convert XML to an object that can be processed with normal property selectors and array iterators. You can read, write or iterate over your XML file with ease accessing elements and attributes.
]]></description>
<comments>http://www.hiveminds.co.uk/node/3736#comment-form</comments>
 <category domain="http://www.hiveminds.co.uk/taxonomy/term/164">Developer Zone</category>
 <category domain="http://www.hiveminds.co.uk/taxonomy/term/39">PHP</category>
 <category domain="http://www.hiveminds.co.uk/taxonomy/term/177">Tutorials</category>
<pubDate>Sun, 04 May 2008 11:02:53 -0700</pubDate>
<guid isPermaLink="true">http://www.hiveminds.co.uk/node/3736</guid>
</item>
<item>
 <title>An excellent tutorial on Mambo component development</title>
 <link>http://www.hiveminds.co.uk/node/713</link>
 <description><![CDATA[Mambo CMS has always intrigued me because it is just so easy to install and operate. But I have not yet done anything more than do a few installs and templates. I left the hard work of developing Mambo components up to those that knew how. Now suddenly my interest in Mambo was lost when I looked up components in the documentation.
]]></description>
<comments>http://www.hiveminds.co.uk/node/713#comment-form</comments>
 <category domain="http://www.hiveminds.co.uk/taxonomy/term/182">Mambo</category>
 <category domain="http://www.hiveminds.co.uk/taxonomy/term/177">Tutorials</category>
 <category domain="http://www.hiveminds.co.uk/taxonomy/term/184">Web Developer</category>
<pubDate>Thu, 10 Apr 2008 10:23:45 -0700</pubDate>
<guid isPermaLink="true">http://www.hiveminds.co.uk/node/713</guid>
</item>
<item>
 <title>Simple content management with embedded ruby</title>
 <link>http://www.hiveminds.co.uk/node/3691</link>
 <description><![CDATA[The mechanic takes advantage of eruby portablity and simplicity to create a blog application. The script uses flat-files for a data source. This is a great beginners tutorial that shows how to create the dynamic menus and setup things cleanly on the server.]]></description>
<comments>http://www.hiveminds.co.uk/node/3691#comment-form</comments>
 <category domain="http://www.hiveminds.co.uk/taxonomy/term/164">Developer Zone</category>
 <category domain="http://www.hiveminds.co.uk/taxonomy/term/177">Tutorials</category>
 <category domain="http://www.hiveminds.co.uk/taxonomy/term/603">eRuby</category>
<pubDate>Thu, 06 Mar 2008 04:21:22 -0800</pubDate>
<guid isPermaLink="true">http://www.hiveminds.co.uk/node/3691</guid>
</item>
<item>
 <title>eRuby: Getting Started with Ruby on the Web</title>
 <link>http://www.hiveminds.co.uk/node/3094</link>
 <description><![CDATA[How to setup a windows development PC and a shared web host so you can start developing Ruby web applications in the same way you do PHP, embedded in HTML. Ruby is easy to learn and has features that make it more useful than other web scripting languages. Now you can use eRuby to create robust web applications and websites.
]]></description>
<comments>http://www.hiveminds.co.uk/node/3094#comment-form</comments>
 <category domain="http://www.hiveminds.co.uk/taxonomy/term/177">Tutorials</category>
 <category domain="http://www.hiveminds.co.uk/taxonomy/term/184">Web Developer</category>
 <category domain="http://www.hiveminds.co.uk/taxonomy/term/603">eRuby</category>
<pubDate>Sun, 02 Sep 2007 11:35:33 -0700</pubDate>
<guid isPermaLink="true">http://www.hiveminds.co.uk/node/3094</guid>
</item>
</channel>
</rss>
