Old parents are happy to see the son that he is smart and the child is counting-on for parents death.
(Sheikh Saadi)
What's up!
Friday, December 31, 2010
Parents and Children
Downtime; Fate; Success;
I don't know when I'll be down because its about my fate. But the fear of being defeated, elimination of un-necessary things and working in a peaceful place is the sign of being successful and good-luck for sure.
Hidden Power
A man with trustworthy relations is powerful and a man with disloyal relations will be down to knees. This applies in social and professional life very well and then on every part of life.
Tuesday, December 28, 2010
Monday, December 27, 2010
Jquery Live Method And Event Bubbling
Take a look at the following code
In Jquery Live-events-binding, the event from level2(child) element will be passed on to level1(parent), then to parent's parent and finally to the root of the DOM(document object). If on any level the event it being canceled/interrupted by a parent then the child element's event will not be triggered. For example in the given code when we will click on the level2 element, the alert box will not show because the level1 div is blocking it by returning a false. This is the way things work in Jquery Live-events-binding. So be careful while using Live Events which can behave unexpected due to a little logical mistake.
Getting Current Index In Foreach Loop
Best Open Source Javascript Editor
I found Komodo Editor by a youtube video reference and it was a GREAT edition to my Javascript Editors :P Too many editors. Unlike Visual Web Developer you can
- Fold the code, not only function blocks but also every curly brace block which is extremely cool
- Click beside the starting bracket it will select the ending one, bravo.
- The Dark theme is cool, I have started liking working with black background.
- You can open not only files but also projects.
- You associate file extensions with appropriate programming language. By default aspx is not associated, I bound with HTML view. I could have used XML too. The code folding works on that file too. Even that is server side code. For that go to Edit > Preferences > File Associations.
- You can customize the colorization experience by Edit > Preferences > Fonts and colors.
- On the top toolbox you can "Show/Hide left pane" etc so you can view project browser on demand.
- The vertical lines to show matching braces is a cool feature.
- Guess what ! GO TO DEFINITION in javascript? ;)
- Code intellisense is also there. Liked it. It remembers variable names, function names and shows common objects such as window and document and their functions like alert() and parseInt() etc.
Firebug - Check DOM Event Bindings
Go to Firebug Console edito and run this command
IE is still the most famous browser even it holds www back
I hate IE because of the fact that Microsoft is holding a lots of web development back. It has bad HTML5 support and it doesn't support 25% of CSS3 features. I, amazingly, see that IE is still holding 60% of the market. According to a report; In last 3 months Google Chrome has taken its rise from 5.x% to 9.x% which is a huge jump. IE has loosed 4% which seems to go to Google Chrome. Firefox loosed 2% and other browsers seem to be on their old positions.Below is a screenshot from another report
Click the Image |
Sunday, December 26, 2010
Sql Server DB Diagram Permissions Workaround
EXEC sp_dbcmptlevel 'YOURDBNAME', '90'; go ALTER AUTHORIZATION ON DATABASE::YOURDBNAME TO "sa" go use [YOURDBNAME] go EXECUTE AS USER = N'dbo' REVERT go
Saturday, December 25, 2010
Thursday, December 9, 2010
Rock Library gone open source
Rock Library is my own and my favorite library. People were after it for a long time. Finally gone open source.
Hosted on the google code hosting Click here to get the source
Friday, November 26, 2010
C# Training Milestones
when u need to learn C#
--------------------------
ok about basics. there are unlimited facts about a language .. just make sure that you practically know Inheritance, Abstract Class, Interface, Virtual members, Abstract Members,
Loop conditions(for loop, while loop, foreach loop, do while loop),
If Else statement, Switch Case Statement,
What are TYPEs, Enumeration,
variable declaration,
Delegates, Events,
Generics,
Linq, primitive types(i.e char, bool, string, int, long, float, double, decimal etc etc),
operators(i.e +, -, =, ++, -- etc etc ) ,
comparison operators(=, <, >, <>, !, !=, <=, >= etc etc) , custom types(like your own classes, enums, delegates),
basic string manipulation(i.e take substring, count characters, iterate character by character, joining etc ), using collections(Array, List, HashTable, array list), iterating over a collection, finding data.
Wednesday, November 3, 2010
Development Training Resources
Gegs of Computer sciences EBooks
http://gigapedia.com/
No limit videos on asp.net basic to professional
http://www.asp.net/web-forms/fundamentals
Tons and tons of official microsoft videos on ADO.NET
http://www.asp.net/web-forms/data
Tons on AJAX
http://www.asp.net/web-forms/ajax
18 parts training on asp.net membership
http://www.4guysfromrolla.com/articles/120705-1.aspx
Configuration Overview: ASP.NET
http://www.codeproject.com/KB/server-management/websitecofig.aspx
10 Parts - Step by step ASP.NET MVC
http://www.asp.net/mvc/tutorials/mvc-music-store-part-1
(Change the parts to like part-1 then part-2 then part-3 in the URL above, do until 10th)
Getting started with MVC
http://www.asp.net/mvc/tutorials/getting-started-with-mvc-part1
(Change the parts to like part1 then part2 then part3 in the URL above, do until 8th)
Blog of the ASP.NET Senior Program Manager(All news come from there)
http://www.hanselman.com/blog/
Official MSDN:: Beginner Developer Learning Center
http://msdn.microsoft.com/en-us/beginner/default.aspx
75+ Videos C# Training(Youtube playlist)
http://www.youtube.com/view_play_list?p=13141D4688033C31&playnext=1&v=wMczD6PNgWo
XTraining-100+Videos on Development in .NET(Youtube playlist)
http://www.youtube.com/view_play_list?p=54962562E04A58D2&playnext=1&v=nrNF0LO2GOM
Geek - Powerful videos on differenet aspects of development
http://www.youtube.com/view_play_list?p=76107D2DB55C4DCA&playnext=1&v=5GQ-3JW-snc
MSDN Resource Point on C#
http://msdn.microsoft.com/en-us/vcsharp/aa336766.aspx
http://www.microsoft.com/events/series/msdnvisualcsharp.aspx
C# Corner Resource Center
http://www.c-sharpcorner.com/Beginners/
C# 4.0 by CsharpKey
http://www.csharpkey.com/csharp/index.htm
Top 19 C# Tutorial Videos on youtube
http://www.intelligentedu.com/blogs/post/best_new_training_sites/3710/top-19-c-tutorial-videos-on-youtube
MSDN How do I video series on C#
http://msdn.microsoft.com/en-us/vcsharp/bb798022.aspx
How Do I? Videos for Visual Studio 2010
http://msdn.microsoft.com/en-us/vstudio/ff459609.aspx
"How Do I?" Videos for Visual Studio 2008
http://msdn.microsoft.com/en-us/vstudio/bb507746.aspx
Official - Introduction to Web Application Projects
http://msdn.microsoft.com/en-us/library/aa730880%28VS.80%29.aspx
ASP.NET Open source website on CodePlex
http://aspnet.codeplex.com/
IIS7 Training Center
http://learn.iis.net/
Official - Famous Articles on C#
http://msdn.microsoft.com/en-US/library/ms391942%28v=VS.80%29.aspx
Official - Famous Articles on Visual Studio 2010
http://msdn.microsoft.com/en-US/library/ms391944%28v=VS.80%29.aspx
Friday, June 25, 2010
Beginning ASP.NET ?
I recommend you learning all the items from the following list:
Database
Table design
relations(one to one, many to many, junction table)
indexes(single column, composite index)
primary key, foreign key, unique key
functions(table and scalar return functions)
stored procedures
views
database diagrams for db design
SQL CLR
Data Access Layer
Linq To Sql
Strongly Typed DataSets
Codesmith
dotNetTiers
Doodads
Subsonic
Repository Pattern implementation in Linq to SQL
Business Logic Layer (Services Layer)
Server side validation
Web Services
SOA
WCF business service
Javascript
JSON
JQuery
Jquery ajax
JQuery JSON
Jayrock
CSS(block model)
positioning
layout
visibility
display
border
XHTML(div, span, fieldset, label, legend)
ASP.NET
UserControls
Server Controls
Page Life Cycle
ModelViewController
Client side validation
ASP.NET theme
Configuring
connectionStrong
AppSetting
Controls
Assemblies
Authentication
Authorization
Creating Custom config Sections
Membership
Roles
Profile
WCF Services|Clients
Visual Studio
Solution and project files
reference adding by project
reference adding by dll
creating macros
keyboard shortcut setting
running macros with short keys
Google a few good VS Addons install and use them
Subversion
Tortoise svn
(Host your code for free at http://unfuddle.com)
Checkout
Add
Delete
Rename
Commit
Update
Revert
Friday, June 18, 2010
WCF, Little Intro
Windows Communication Foundation (WCF) is a framework for building service-oriented applications. Using WCF, you can send data as asynchronous messages from one service endpoint to another. A service endpoint can be part of a continuously available service hosted by IIS, or it can be a service hosted in an application. An endpoint can be a client of a service that requests data from a service endpoint. The messages can be as simple as a single character or word sent as XML, or as complex as a stream of binary data.
1. With WCF we can send calls through HTTP, TCP, MSMQ, Named Pipes, Peer2Peer etc
2. We can use IIS, windows service(as network service), a terminal, a windows form application to HOST the business logic of the remote software. It means if we do not like IIS, nothing to worry. We can host the same business logic without IIS.
3. It can send data in either XML(SOAP) or Binary form(through TCP) which is faster and reliable and secure too.
4. It has built in authentication and authorization system which means that our roles Admin, reseller and Domain user will be recognized by control server software.
5. It can be used as legacy SOAP client for backward compatibility so that it can be used by third parties apps like Java, asp.net , flash and .NET framework Web Service Clients itself.
6. Its clients (Control Server) can CHANGE the HOST anytime, so that Server A, B and C has the same business logic but on demand we can change the HOST and communicate dynamically. (That was my major concern with old SOAP code and I ran for a solution)
7. A lots easier to use than other SOAP application styles, Microsoft has done a LOT in this field already.
8. Supports Synchronous and Asynchronous calls, i.e Call and wait or Call and forget and keep working on other tasks.
I downloaded a DVD from AppDev ( http://www.appdev.com/prodfamily.asp?catalog_name=AppDevCatalog&category_name=WCCProduct&cookie_test=1 ) and studied a book by orielly ( http://www.amazon.com/Programming-WCF-Services-Juval-Lowy/dp/0596521308/ref=sr_1_1?ie=UTF8&s=books&qid=1276883505&sr=1-1 ) which is the best rated book on the Amazon on the Topic of Windows communication foundation.
Reference on MSDN is
http://msdn.microsoft.com/en-us/library/ms731082.aspx
MSFT Technologies $99/year, 2600 videos
.Learn practical skills and best practices directly from Microsoft MVPs and experts.
.See and hear each concept explained step-by-step with our video format.
.Learn at your own pace, whenever and wherever it suits your schedule.
.Take complete courses, or jump to specific topics for on-the-spot reference.
.Stay on top of the latest technologies with future videos included free with our complete library.
Click for details