Facebook Connect, as Easy as 1 2 3

Today Facebook is launching the Facebook Connect Wizard and Playground -– tools that simplify the implementation process so that developers and non-developers alike can experience the benefits of Facebook Connect including increased traffic and site engagement.

The Power of Facebook Connect

Establishing a presence on the social Web requires fundamental building blocks. Facebook provides these essential tools, including identity for a great registration system, and immediate access to 300 million active global users. Facebook Connect gives entrepreneurs of all sizes — and with varying developer resources — the ability to build traffic efficiently through reaching a relevant audience, while offering an engaging user experience. From making the registration process easier for users, to bringing friends together, to gaining distribution from sharing back to Facebook, there are many benefits that come along with Facebook Connect, and facebook is focused on helping you optimize your website and service to provide a more social experience for users.

With the Connect Wizard, you can now incorporate Facebook Connect into your site in 3 easy steps.

Additionally, the Playground for Facebook Connect provides code samples for adding profile pictures, user names, and friends to your site. We will continue to add more code samples as we see more usage.

Managing Innovation is about Managing Change

 

Innovation is Change

Innovation is about change. Companies that successfully innovate in a repeatable fashion have one thing in common – they are good at managing change. Now, change comes from many sources, but when it comes to innovation, the main sources are incremental innovation and disruptive innovation.
The small changes from incremental innovation often come from the realm of implementation, so the organization, customers, and other stakeholders can generally adapt. However, the large changes generated by disruptive innovation, often come from the imagination, and so these leaps forward for the business often disrupt not only the market but the internal workings of the organization as well – they also require a lot of explanation.

Blogging Innovation: Managing Innovation is about Managing Change – Latest innovation articles, videos, and insights

CSS Tutorials – Introduction To CSS Basics

 

A collection of 21 FAQs/tutorials tips on CSS (Cascading Style Sheets) basic. Clear answers are provided with tutorial exercises on CSS syntax basics, contextual, class, and id selectors, CSS cascading order rules, grouping CSS definitions, browswer default CSS definitions Topics included in this collection are:

  1. What Is CSS (Cascading Style Sheets)?
  2. What Is the Basic Unit of CSS?
  3. How Many Ways to Attach CSS to HTML Documents?
  4. How To Include CSS Inside a HTML Tag?
  5. How To Include CSS Inside the HEAD Tag?
  6. How To Store CSS Definitions in External Files?
  7. How Many Ways to Select HTML Tag Instances?
  8. What Is a Class Selector?
  9. What Is a ID Selector?
  10. What Is a Contextual Selector?
  11. What Is a Group Selector?
  12. What Is a Mixed Selector?
  13. What Are the Pseudo Classes on <A> Tags?
  14. How To Group CSS Definitions Together?
  15. What Is Style Property Inheritance?
  16. What Is CSS Cascading?
  17. What Are the CSS Cascading Order Rules?
  18. How To Remove the Top White Space of Your Web Page?
  19. How To Set Different Text Fonts Inside Tables?
  20. How To Use Class Selectors to Differentiate Tag Instances?
  21. How To Use IDs to Override Classes?

Answers: CSS Tutorials – Introduction To CSS Basics

Form Validation using jQuery Validation plugin

image

In the example above, we only used three validation methods (required, email and url). There are several other methods that can be used here. Here are a few of them:

  • remote: requests a resource to check the element for validity.
  • min: makes the element require a given minimum.
  • date: makes the element require a date.
  • creditcard: makes the element require a credit card number.
  • equalTo: requires the element to be the same as another one.

You can find an exhaustive list of built-in validation methods at http://docs.jquery.com/Plugins/Validation#List_of_built-in_Validation_methods.

But I can’t find a suitable built-in method for my situation. Can I write my own method?” Yes you can! And its really easy.

Writing Your Own Validation Method

Calling the jQuery.validator.addMethod() method. It takes three parameters:

  • name: The name of the method, used to identify and referencing it, must be a valid javascript identifier.
  • method: the actual method implementation, returning true if an element is valid.
  • message: The default message to display for this method.

In the validate function, we specify that the ‘sport’ field should be validated using the selectNone method.

image

Make sure to look at the source code behind these demos

Via Form Validation using jQuery

Another tutorial here

Choosing a Data Access Layer for Silverlight 3

 

Choosing a Data Access Layer for Silverlight 3

Silverlight

The three major candidates in Silverlight 3 are Web Services (WCF/ASMX), ADO.NET Data Services and RIA Services.  In any situation, any of these will work. But they are suited to different styles and requirements. Here’s the abridged differences between the stacks:

  • Web Services: Interface-based Data Access
  • ADO.NET Data Services: LINQ-based Data Access with change management
  • RIA Services: Interface-based Data Access with change management

Read More here … Shawn Wildermuth – Choosing a Data Access Layer for Silverlight 3

What is the difference between a.Equals(b) and a == b?

Value Types:
For value types, “==” and Equals() works same way : Compare two objects by VALUE
Example:
int i = 5;
int k= 5;
i == k > True
i.Equals(k) > True

Reference Types:
For reference types, both works differently :
“==” compares REFERENCE – returns true if and only if both references point to the SAME object.

Equals method compares object by VALUE.

Example:
StringBuilder sb1 = new StringBuilder(”Mahesh”);
StringBuilder sb2 = new StringBuilder(”Mahesh”);
sb1 == sb2 > False
sb1.Equals(sb2) > True

However

String s1 = “zzz”;
String s2 = “zzz”;
In above case the results will be,
s1 == s2 > True
s1.Equals(s2) > True

Why? Does that mean String a Value Type?

No, String IS a Reference Type. Although string is a reference type, the equality operators (== and !=) are defined to compare the values of string objects, not references. This makes testing for string equality more intuitive. For example:

The XNA Role Playing Game Starter Kit

 

image

The starter kit comes as an MSI installable package. It adds a new template into Visual Studio, making it possible for you to choose File | New | Role Playing Game from the menu. This one step process initiates the creation of a new solution containing the source for a complete tile-based role playing game. In Figure 1 you can see the Solution Explorer and Class View for the created project. By viewing this screen shot you can get some sense of what is available inside the start kit. Obviously this is a fairly extensive bit of source code with lots of logic for you to digest and learn from, especially if you are new to game development.

Figure01-SolutionExplorer_&_ClassView

Acquiring the Starting Kit

The downloads for the RGP Starter Kit are broken out into versions for XNA Game Studio 2.0 and 3.0. There is also a distinction between code that targets Windows and code for the XBox:

Here are some additional links

Charlie Calvert’s Community Blog : The XNA Role Playing Game Starter Kit