Programming

MVC Design Pattern by DungNH

Your first choice for Software Outsourcing to Vietnam. TuVinhSoft is the leading Vietnam-based software development company providing onsite/software, offshore/software development services to overseas markets. Please prefer to www.tuvinh.com for more details.
MVC Design Pattern, Vietnam Software Outsource

View SlideShare presentation or Upload your own. (tags: web outsourcing)

Rate this: 2.5


45+ Fresh Out of the oven jQuery Plugins

Image SlideShows and Galleries
1) Galleria -Is a javascript image gallery written in jQuery. It loads the images one by one from an unordered list and displays thumbnails when each image is loaded. It will create thumbnails for you if you choose so, scaled or unscaled, centered and cropped inside a fixed thumbnail box defined by [...]


37 Shocking jQuery Plugins

It’s really amazing to see what one can create using jQuery. Developers just don’t stop making incredibly interactive web applications every now and then. This post just demonstrates excellent examples of some of the best jQuery plugins out there.
jQuery Sliders
1) Slider Gallery- A similar effect used to showcase the products on the Apple web site. [...]


For all tester

Testing Primer
Rate this: 3.0


20+ Javascripts Frameworks

Many would initially think that Javascript has something to do with Sun Microsystem’s Java but as the matter of fact, it doesn’t. Javascript was created by Netscape, they previous name was LiveWire, then LiveScript.
Javascript is a programming language that is normally used on the client side. It is easy to learn and pick up. Most [...]


Tester xuất sắc

Lạng lách
Tester xuất sắc phải là tay chuyên “lạng lách”. “Lạng lách” là ở chỗ: ai cũng có thể làm theo danh sách dài dằng dặc những test cases có đầy rẫy trong các sách dạy testing, nhưng tester xuất sắc lại có thể đi xa hơn cả cái danh sách này, và với tới [...]


Mysql optimize

smalest data type
horizon : split many columned table
vertical:  split many rowed table
alway:
fewer read= faster result
———————
Coding guideline:
- KISS(keep it simple stupid)
-Using store procedure for a big performance boost
-isolate index fields in  one side of equation
(ex:
bad:  where TO_DAYS(created_date) - TO_DAYS(CURRENT_DATE() >7
better: where created_date > CURRENT_DATE() - INTERVAL 7 DAY
best:  calculate CURRENT_DATE() - INTERVAL 7 DAY ->replace [...]


Finding Hidden Characters in a File

As well as the characters you can see in a web page (or any other text file), there are a whole host of hidden characters that you can’t see. Most of the time you don’t need to know where these characters are, which is why they are hidden in the first place. Occasionally though, perhaps [...]


How to get tags cloud from the database?

_sqls package:
function getTagsCloud( $oModel ){
$sSql = “SELECT
COUNT(tag_id) as quantity, tag_id, tag_name
FROM fa_tags
WHERE tag_key=”.EVENT_KEY.” GROUP BY tag_name ORDER BY tag_name LIMIT 0,30 “;
parent::execute_query($sSql, __LINE__, __FILE__);
}
_models package: 
function getTagsCloud(){
$this->oDb->getTagsCloud( $this );
return $this->oDb;
}
_views package:
function showTagsCloud( $oModel ){
$mRes = $oModel->getTagsCloud();
$aTags = array();
$aTagIds = array();
while ( $aRows = $mRes->fetch_row() ){
$aTags[strtolower($aRows[tag_name])] = $aRows[quantity];
$aTagIds[$aRows[quantity]] = $aRows[tag_id];
}
// change these font sizes if you will
$iMaxSize [...]


How to post a form by Json without page reloading?

Javascript:
function submitAddLink( )
{
print(’<img src=”{URL_IMAGES}loading.gif” />’, ‘processAddLink’);
var oForm = document.frmAddLink;
oXMLHttp = checkXMLHTTP();
var setRequest = typeof(oXMLHttp.setRequestHeader);
if ( oXMLHttp && setRequest!=”undefined” )
{
var myQuery = ’sAction=detail’;
if(oForm.elements.length > 0){
for(var iElement in oForm.elements){
myQuery = myQuery + ‘&’ + oForm.elements[iElement].name + ‘=’ + oForm.elements[iElement].value;
}
}
orderPost( oXMLHttp, “index.php”, myQuery, HTTPsubmitAddLink, true );
}
}
function HTTPsubmitAddLink()
{
if ( typeof(oXMLHttp)===’undefined’ )
return;
// Return status of XMLHttp object
if ( oXMLHttp.readyState==4 [...]