Archive for December, 2008


My Top Movie Trailers 2008

Wednesday, December 31st, 2008

MyTopMovies2008Image

I like to watch allot of movie trailers, I usually do it every week. Here are my top 2008 movie trailers that I like allot. I like them because they are full of action or funny as hell.

Please note that these movie trailers are linked to Apple.com/trailers website.

1. Quantum of Solace
2. Seven Pounds
3. Gran Torino
4. Notorious
5. Terminator Salvation
6. Yes Man
7. Madagascar 2
8. Ice age 3
9. Up
10. Australia

SQL Stored Procedures with C#

Tuesday, December 30th, 2008

storedprocedures image

Many real-world applications interacting with the SQL server use stored procedures, which are compiled by the database in advanced of execution which offer better performance over normal SQL statements, which are compiled when called.

They are secure, because it only needs to make calls to the database and use its stored procedures, rather than having some malicious user use your connection and could delete data. Stored Procedures can also take data input via parameters.

I’m a big fan of Stored Procedures, it just makes it allot easier for me to code between my C# classes to SQL separately.

(more…)

Drag & Drop HTML Elements With JavaScript

Monday, December 22nd, 2008

A simple illustration of my quick tip

I’d like to share a note on how to drag and drop elements by clicking and holding while dragging to move the clicked element. When you release the mouse button, the element will be dropped.

First we need to declare global variables that we can access between our functions. Then we need to write functions that will be fired when our mouse is down, up and moving upon our div.

(more…)

JavaScript Modifying The DOM

Thursday, December 4th, 2008

DomImage

Traversing the nodes of a document can be useful, but the real power of the Core DOM API lies in the features that allow you to use JavaScript to dynamically modify documents. The following example will demonstrate the basic techniques of modifying HTML documents.

(more…)