tlessh

Archive for October, 2008|Monthly archive page

IE Extensions For Web App Debugging

In Uncategorized on October 25, 2008 at 12:49 am

Now a days, debugging Web App will be a tedious task without knowing right tools. Specially on IE (Internet Explorer). As a Market Leader, most of web application is better ensured able to appropriately run on this browser.

At the beginning tools for IE debugging is lack compare to Firefox, which has abundance free tools like Firebug extension etc. So after a years at last IE has its debugging tools that convenient as in Firefox.

In Web Development I choose these 3 powerful tools that come with free and easy to use.

1. Http Watch Basic

http://httpwatch.com/download/

2. IE Developer Toolbar

http://www.microsoft.com/downloads/details.aspx?familyid=e59c3964-672d-4511-bb3e-2d5e1db91038

3.  WebDev Helper

http://projects.nikhilk.net/WebDevHelper/Default.aspx

—-

Welcome To DevWatch

In Uncategorized on October 25, 2008 at 12:31 am

Welcome to Dev Watch Tutorial blog.
It reserves as my learning note and how my development evolves.
Hopefully you can get some insight from here.

Eddy Tlessh

Contents:

How To Access Google Code SubVersion(SVN) Server

In Google, Subversion, Tutorial on October 25, 2008 at 12:11 am

By Eddy Tlessh 2008.05.12

This is a brief tutorial to access Google Code SVN Server. Google Code is very fast and reliable for SVN Repository.

Subversion (SVN) is a version control system initiated in 2000 by CollabNet Inc. It is used to maintain current and historical versions of files such as source code, web pages, and documentation.

I am using one of the sample project that have been done for NUS ISS M.Tech Course. ARS.Net is a simple program for Flight Reservation. Database structure and content are inspired from SAP sample of S_FLIGHT.

Like other services from Google , Google Code required Google User name and password, with some notes:

  • username = gmail username without @gmail.com
  • password of Session = Login to Google services (e.g gmail) firstly to keep session in browser and next goto App. SVN url e.g http://code.google.com/p/arsnet
  • SVN password = SVN Client will use this password to authorize user to access SVN Server.

SVN password can be found under Settings link , see picture below:

One of powerful and fast SVN Client is TortoiseSVN which can be downloaded on http://tortoisesvn.net/downloads.

Below is step by step to use SVN Server of Google Code. The End target is we can do a check out and check it of SVN.

1. Create Workspace Folder and Checkout SVN

Create a folder using Windows Explorer, right click and choose SVN Checkout…

TortoiseSVN will ask an url, type an Application Project svn from googlecode, e.g https://arsnet.googlecode.com/svn/trunk/. On checkout directory enter workspace location which created on Step 1 e.q: D:\workspaces\VisualStudio.Net\ARS.Net

2. Setting up Firewall Proxy (optional)

This step is optional, if there are any firewall existed, it is needed to define a proxy and port for TortoiseSVN to access internet

3. Checkout SVN and User Authentication

If TortoiseSVN is succeeded to connect to google code, It will required to key in user (w/o @gmail.com) and SVN password (see Step1 to retrieved a SVN password). Tick Save authentication checkbox so it will not keep asking user/password for every Checkout.

4. Add File or Folder to SVN

To add file or folder to SVN , on folder/file right click press TortoiseSVN – Add…

Select folder or file to be added

If it is success on add, it will show the result. but the concrete file is still not in SVN Server.

5. Commit Changes

Every operation on SVN Client such as Add or modify, SVN requires to commit to send a file to repository server.

It is a good practice to give an informative comments.

Commit is succesfully done.

With these few steps, you have done a basic use of SVN repository (standar operation that frequently done).

Accessing Google SVN from behind Proxy

For accessing SVN from behind firewall proxy, you need to know what is your proxy addess, port , user id and password. Usually this information can be found in your browser setting like IE is in menu Tools – Internet Options – Connections Tab – LAN Setting .

The way to add proxy setting, is right click on SVN folder and from context choose Tortoise SVN – Settings as seen below:
svn-proxy01

And from Tortoise SVN setting choose Network [1] and check the Enable Proxy Server[2], write down the information which you have in Browser proxy recently[3]. Some times a proxy is without user id or /password, then in this case just left it blank.

svn-proxy02

Clearing Authentication Cache.

This TortoiseSVN – Setting is to clear SVN user id/password after you authenticate it. It is very useful if one computer is used by more than 1 SVN user id. In Settings , choose Saved Data, click button Clear on Authentication data.

svn-clearauth01

I welcome any comments and questions.

save

Setup Virtual Box (VPN and LAN Access in Same State) [Part 1]

In SAP, Tutorial, virtual box on October 16, 2008 at 4:43 pm

This is a step by step tutorial, to setup a new OS(WinXP)  in Sun VirtualBox.
One of the purpose of this virtual machine is create a 2 session on the same time on the same box.
For example Development VPN network will be handled by Virtual Machine.

Picture above is showing VPN injected SAPGUI on the left and local SAPGUI on the right.

Installation of Virtual Box is easy and straight forward, most of the step is just clicking of Next Button.

There are 6 main topics:

  1. Download and Install Virtual Box
  2. Creating New Virtual Machine
  3. Creating New Virtual Disk
  4. Operating System Installation
  5. User Interface Enhancement
  6. Interaction with Host PC and Folder Sharing

Let’s start to install VirtualBox

[Download and Install Virtual Box]

1. Download Sun VirtualBox from http://www.virtualbox.org/wiki/Downloads

2. Install VirtualBox, This tutorial is using Virtual box 1.6

3. Run VirtualBox


[Creating New Virtual Machine]


4. Click New Button:

5. Create New Virtual Machine will pop up. Give a name and select the OS Type. Click Next button.

6. Choose a default base memory. Click Next button.

7.  Create a new virtual image, Click on New Button.


[Creating New Virtual Disk]


8. Create New Virtual Disk window will be appeared.

9. Choose an image type, click on dynamically expanding image. Click Next button.

10. Choose any name of image and the path location, and define maximum image size. For Windows XP, minimum required is 2 GB, Choose 3 GB, the disk will expand to this maximum size. So you need to install size consuming application, spare for bigger size. Click Next button.

11. Click Finish, and will return you to previous wizard.

12. Back to New Virtual Machine, ensure the image file is selected. Click Next button.

13. Summary of Virtual Machine will be shown. Steps of creating new image file is finish.


[Operating System Installation]


14. To Install the OS, choose the virtual machine which just created and click on Start button

15. First Run Wizard will be appeared. Click Next button.

16. Choose media of OS installation source. For example Source is DVD on drive E. Click Next button.

17. Click Finish button.

18. And The VirtualBox will start and act as PC in PC and will read DVD source to start install a OS

This is the end of first part of tutorial. Click here to continue with Virtual Box Guest Addition installation.

Eddy ‘Tlessh’ Lim

Follow

Get every new post delivered to your Inbox.