Translator

Go Back to Previous page using Javascript and PHP

Found a simple yet practical on how to implement simple Go Back link to previous page using javascript and PHP.

You can read the tutorial here:

http://perishablepress.com/press/2007/03/12/go-back-via-javascript-and-php/

Installing Java Development Kit(JDK) on Ubuntu

I have found good tutorial on installing Java JDK 6 on Ubuntu which is here: http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/

It will show on how to install java jdk and then we set java path (java home) to the system.

Installing Xampp on Ubuntu. Make LAMP!

I found a great tutorial at http://humanlanguage.wordpress.com/2006/12/03/install-xampp-on-ubuntu/on how to install xampp on ubuntu. Now i can start web development using LAMP in Ubuntu~

Editing files from root using terminal

You might use terminal to edit files such as php.ini later on, so this is a good tutorial about it: http://www.howtoforge.com/faq/12_15_en.html

This is extra reference. You will not use it accept when getting a problem.

To install pear:
root@ubuntu:/usr# apt-get install php-pear

PECL requirement
root@ubuntu:/usr# apt-get install build-essential

Root User in Ubuntu

To install apps in ubunt, you need to be root user.

So this simple article will show you how to become a root user if you are the first person:

How do I login as root user?

  1. Open terminal at Accessories>Terminal
  2. and simply type the following command:


$ sudo bash
OR
$ sudo -s

Using service Builder

Objectives:
Creating Report Portlet

Steps:

  1. Create Service XML
  2. Create folder com/ext/porlet/reports at ext-impl/src

    Create a file named service.xml under that folder

  3. Build the service
  4. Drag  ext-impl/build.xml and do build-service-portlet-report
    Result:
    ext-services/src : It will now generate model, service, service.persistance AND
    ext-impl/src: Implementation of service above

Installing Liferay

You can install liferay by following instructions at my friend’s blog: http://lazy-programmer.blogspot.com/2009/06/install-latest-version-of-liferay-522.html

IMPORTANT!

if you are using 5.2.3 or later , do not execute mysql queries. Follow these steps:
1. Create table lportal at mysql or other db
2. Clear up tomcat\tomcat\webapps\.  LEAVE ONLY ROOT folder.
3. Start the tomcat server

USING EXT

Create 1 file called app.server.username.properties

Joomla User Access for Content

http://extensions.joomla.org/extensions/access-a-security/backend-a-full-access-control/9040

http://extensions.joomla.org/extensions/news-production/content-construction/5583

Flash MySQL

http://www.emanueleferonato.com/2008/06/01/flash-sending-manipulating-and-receiving-data-with-sendandload/

Comment: Simple and basic tutorial on saving user data to databasefor AS2

http://tush.wordpress.com/2007/07/20/actionscript-3-using-urlloader-to-send-and-load-server-variables/

Comment: This one combines AS3->Flex->PHP

However i still don’t see how a game can use it as standalone without flex.

http://www.ultrashock.com/forums/actionscript/sendandload-data-91833.html

MySQL Tips

Collections of MySQL Tips\Tutorial:

http://blog.tuvinh.com/top-20-mysql-best-practices/

Comment: Very simple yet practical tips to improve your mysql query speed.

Linux Server

Now I have to use cmd to use our dedicated server, so this post will contain references to use linux dedicated server.

MYSQL
http://www.yolinux.com/TUTORIALS/LinuxTutorialMySQL.html
My Comment: A very good basic and simple tutorial on using mysql