Sunday, May 31, 2009

Solution if only part of tiles (grey area appear) are shown in Google map

1. Set the doctype correctly according to the Google API.
2. Run the initialize method as the window.onload function.

Thursday, May 28, 2009

setting of htaccess

1. php_flag register_globals off
instead of just by $abcif this flag sets to off, program will be only able to get the $_GET["abc"], $_POST["abc"],etc if the url is url.html?abc=123

2. php_flag magic_quotes_gpc off
This flag is used to originally give backslash to gpc(get, post, cookie) to prevent SQL injection.

3. php_flag short_open_tag on
Allow the use of short open tag < ? instead of < ?php

4. Options -Indexes
Disallow directory browsing

5. DirectoryIndex index.php index.htm index.html
If the user types the directory name, we search through the list of index.php to show it.

Wednesday, May 27, 2009

Tuesday, May 26, 2009

JQuery Plugin List

jQuery UI:
http://jqueryui.com/demos/

jQuery Ribbon
http://dev.mikaelsoderstrom.se/scripts/jquery/ribbon/
http://jqueryribbon.codeplex.com/

jCarousel:
http://sorgalla.com/projects/jcarousel/

Lightbox:
http://www.balupton.com/sandbox/jquery_lightbox_bal/demo/
http://plugins.jquery.com/project/jquerylightbox_bal

Facebox:
http://famspam.com/facebox

BlockUI
http://malsup.com/jquery/block/

ThickBox
http://jquery.com/demo/thickbox/

tablesorter
http://demos.flesler.com/jquery/scrollTo/
http://flesler.blogspot.com/2007/10/jqueryscrollto.html

AutoComplete
http://jquery.bassistance.de/autocomplete/demo/
http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/

Facebook style autocomplete
http://web2ajax.fr/examples/facebook_searchengine/

Accordion
http://jquery.bassistance.de/accordion/demo/

TreeView
http://jquery.bassistance.de/treeview/demo/

InnerFade
http://medienfreunde.com/lab/innerfade/

Tooltip
http://jquery.bassistance.de/tooltip/demo/
http://bassistance.de/jquery-plugins/jquery-plugin-tooltip/

Cycle
http://www.malsup.com/jquery/cycle/

Menu
http://be.twixt.us/jquery/suckerFish.php

Validation
http://jquery.bassistance.de/validate/demo/
http://bassistance.de/jquery-plugins/jquery-plugin-validation/

Pagination
http://d-scribe.de/webtools/jquery-pagination/demo/demo_options.htm
http://plugins.jquery.com/project/pagination


Sites containing plugin list:
http://www.open-open.com/ajax/2_jQuery.htm

Useful CodeProject Tutorial

GeoPlaces : hybrid smart client, involving RESTful WCF/WPF and more
http://www.codeproject.com/KB/smart/GeoPlaces.aspx


ASP.NET AJAX Control Toolkit ModalPopupExtender Control in Action
http://www.codeproject.com/KB/ajax/ASPModalInAction.aspx

Top 10 steps to optimize data access in SQL Server

Top 10 steps to optimize data access in SQL Server
Part I:
http://www.codeproject.com/KB/database/OptimizeDBUseIndexing.aspx
Part II:
http://www.codeproject.com/KB/database/RefactorTSQLs.aspx
Part III:
http://www.codeproject.com/KB/database/IndexAndDenormalize.aspx

TechCrunch

http://www.techcrunch.com/

Wednesday, May 20, 2009

First-time project managers need failures

One of the greatest impediments to first-time project managers' success is their need to succeed. There are three things they really need--and early success isn't one of them.

http://www.zdnetasia.com/techguide/techmanagement/0,39044902,62054210,00.htm?scid=nl_z_tgtm

Thursday, May 14, 2009

Database Publishing Tools

Database Publishing Wizard http://www.codeplex.com/sqlhost/Wiki/View.aspx?title=Database%20Publishing%20Wizard

SQL Dumper
SQL Server Dumper enables you to dump selected SQL Server database tables into SQL INSERT statements, that are saved as local .sql files and contain all the data required to create a duplicate table, or to be used for backup purposes. You can choose to create an individual .sql file for each table, or combine all selected tables into a single file.

http://www.ruizata.com/

Wednesday, May 13, 2009

Get Url without Querystring and UrlBuilder

Request.Url.GetLeftPart(UriPartial.Path)

Use UrlBuilder class to build url instead of string concatenation.

Monday, May 11, 2009

Add a default time and make the dropdownlist required (not include that item)

Add a dropdownlist with the value of default item=0:
<asp:dropdownlist id="ddlExample" runat="server" appenddatabounditems="true">
<asp:listitem text="select" value="0"></asp:listitem>
</asp:dropdownlist>

Add a requiredfieldvalidator with the initialvalue=0:

<asp:requiredfieldvalidator id="rfvExample" runat="server" initialvalue="0" controltovalidate="ddlExample" text="select plz">
</asp:requiredfieldvalidator>

2009 Google Flash SEO

http://www.beussery.com/blog/index.php/2008/10/google-flash-seo/

Webmaster guidelines

http://www.google.com/support/webmasters/bin/answer.py?hl=en&answer=35769

Saturday, May 2, 2009

XSS (Cross Site Scripting) Prevention Cheat Sheet

http://www.owasp.org/index.php/XSS_(Cross_Site_Scripting)_Prevention_Cheat_Sheet