recently featured posts we've got 8 articles so far

JSMag for FREE 3

Jan5

JSMag is currently kinda the only Javascript magazine for enthusiastic front-end developers. I’m a subscriber of this magazine, finding it really fun, and interesting to read, especially if you love Javascript. This is a must-read for you :D and only costs $4.99. You can purchase at JsMag or ..I will periodically, and per request, upload old JSMag for the “hungry”-minded to download :) . However, I can’t upload the latest ones as ..you know :D

Below are several issues I found very informative.
Issue 1
Issue 2
Issue 4
Issue 7
Issue 8

Totti

Learning Javascript, JQuery w John Resig 2

Jan5

John Resig, one of my favorite Javascript experts, recently has just released a site teaching advanced Javascript for intermediate programmers. I myself find this resource very useful. Hope you guys love it too.

http://ejohn.org/apps/learn/

and also the page teaching jQuery at http://ejohn.org/apps/learn-jquery/

You could also find more of his lectures in the upcoming book called Secrets of Javascript Ninja.

Totti

A JavaScript Module Pattern 0

Dec28

This is the first episode in the collection of Great Javascript articles by world’s top-notched Javascript gurus.
Our entry this week was written by Eric Miraglia originally posted on Y!UI Blog.

Global variables are evil. Within YUI, we use only two globals: YAHOO and YAHOO_config. Everthing in YUI makes use of members within the YAHOO object hierarchy or variables that are scoped to such a member. We advise that you exercise similar discipline in your own applications, too.

Douglas Crockford has been teaching a useful singleton pattern for achieving this discipline, and I thought his pattern might be of interest to those of you building on top of YUI. Douglas calls this the “module pattern.” Here’s how it works:
continue reading »

ExtJS : 2 secs with custom vType 0

Dec23

Following another question on ExtJS forum, I’ve created a sample of how to use vType for ExtJS newbies.

Basically, in form submission you need to validate user input and / or prevent user from entering invalid keys. Pure Javascript implementation could be quite a headache to some folks. ExtJS now provides a regex-based validation class called, vType, which helps you to do both things mentioned above.

Demo: a simple Custom vType
continue reading »

How to remove white spaces from a string 0

Dec19

Today at work, I happened to write a function that removes white spaces from a string. After trying different ways using: loops, array indexer, or regex, I came up with the shortest way using regular expression to share with you:

continue reading »

Ext JS : Drag n’ Drop buttons on a panel 0

Dec19

This blog entry was written following a question of an user in ExtJS forum: How to drag n’ drop a button on a panel ?

ExtJs people tend to just focus on the grid-to-grid, grid-to-listview.. sort of drag and drop, and forgot to include in their documentation a typical example of ‘drag and drop’ of a simple element like a button on a panel. Below is my implementation:

ExtJS: 3.x

Demo: Drag and Drop a button

continue reading »

J!Mint – Joomla Magento Integration 2

Dec16

Hi guys,

I’m Anh Nguyen (Totti), a student participant in GSoC 2009 under Joomla category, and my project is Joomla Magento Integration, J!Mint.

This project is FREE and licensed under GNU GPL 2.0.

The main features are :
1. User Synchronization
2. User Management
3. SSO
4. Backend Integration : allows you to control Magento backend inside Joomla.
5. Frontend Integration:  allows you to bring any Magento block of content and place it inside Joomla frontend. This makes it pretty easy to make your two sites look exact the same as each other.

continue reading »

It's time to blog now.. 1

Dec4

I used to have a personal website developed in Flash here as I played around with Flash/ActionScript, but it’s quite outdated since 2007. Just realized It’s time to start blogging about Javascript, and web frontend stuff to hear and share with people around. So here comes my blog :)