May 06

crockford-cover.pngHi again, yesterday I came across this free chapter and cant miss to share it with you.

It comes from Douglas Crockford’s forthcoming “Javascript: The Good Parts”. In this volume, Douglas articulates a philosophy of coding in JavaScript that builds up on and extends the content of his popular video series and articles. The premise, as Douglas puts it: “Most programming languages contain good parts and bad parts. I discovered that I could be a better programmer by using only the good parts and avoiding the bad parts.”

Here is Chapter 5: Inheritance

Jan 30

This handy tool is written by Jörn Zaefferer. He recently updated his version to 1.2 including lots of new features. Couple of days ago I played with it for a while and it was really good experience.
Here are couple of demos:
jQuery Validation Plugin v1.2
jQuery Validation Plugin v1.2

read more from the source

Dec 04

Yesterday was released the latest version of Yahoo Javascript library - YahooUI. It’s available for download and full documentation is also online at their site.

What is new:

- Selector Utility: The YUI Selector Utility implements much of the CSS Selector syntax as defined by the W3C, including the proposed CSS3 Selector extensions.

- Charts Control: The Charts Control draws data from the same DataSource Utility that underpins the YUI DataTable Control, making it possible to do combined chart/table visualizations. The Charts Control accepts CSS style information, allowing you to skin the chart itself without touching the underlying .swf file.
Charts Control

- Get Utility: Get provides an interface for dynamically adding script nodes and CSS link nodes to the page.

- Profiler: Profiler allows you to target specific code for profiling and to retrieve profiling data programmatically while your application is running — in any A-Grade browser.

- JSON Utility

- Button:

- Calendar: Satyen Desai has added built-in year navigation to the YUI Calendar Control.

- Drag & Drop: If your implementation requires simple drag-to-reposition functionality, this configuration option suppresses the complex targeting and interaction logic that is the most computationally intensive aspect of drag and drop; in those cases, you’ll see significant performance boosts.

- Rich Text Editor: Dav continues to push the YUI Rich Text Editor in both size and performance. With 2.4.0, you can better control the dependency list, allowing you to shave more than 50% off the overall k-weight of the widget (vs. its 2.3.1 profile) if you don’t need some of the glossier UI elements.

For full list of changes and more explanation words, please visit here.

Nov 29

DateJS, OpenSource JavaScript Date LibraryDatejs is an open-source JavaScript Date Library.

Comprehensive, yet simple, stealthy and fast. Datejs has passed all trials and is ready to strike. Datejs doesn’t just parse strings, it slices them cleanly in two.

These are the About words on the homepage, yet a lot more need to be said. DateJS is a small tool which is easily installed and configured. Moreover he has those small features we need sometime and have to code each time in different projects. Now you can easily start typing like “today” and volia - you will get today’s date.

Nov 20

Yesterday I came across this library written by Greg Houston. Its called Mocha UI and its a MooTools user interface class made with canvas tag graphics. This is an on going exercise to help Greg become more familiar with both MooTools and the canvas tag. After playing for a while with it I have noticed that Greg has done great job! His library is just 15kb(uncompressed) and I personally find it quite useful!

Features

* No images. The windows, including their controls, gradients and shadows, are drawn with the canvas tag.
* Adjustable rounded corner radius.
* Windows can be focused, dragged, resized, maximized, restored down and closed.
* Dynamically create new windows on demand.
* Fullwindow window size is adjusted if the browser window size changes.
* Minimal HTML markup required.
* Tested in Firefox 2, Internet Explorer 6 & 7, Safari 2, and Opera 9.

View demo here

Oct 16

We’re all living on the web, and we all seem to be starting our own websites, so it’s time we all learned the languages that make it run. The guys at Mashable.com have gathered over 250 resources to help you get going.

This list is aggregated from previous Mashable posts.

The list is quite extensive and features many ajax libraries, loading indicators etc so its best to be viewed at the original place.

Oct 11

I am quite excited seeing the latest Ext 2.0 Beta 1 released!

These guys are doing very serious job as moving the production effords further. The new beta comes with updated samples which are Web Desktop and my personnal favourite Portal.

2.0 Availability
The Ext 2.0 codebase has stabilized and several clients have begun to use Ext 2.0 in production environments. Ext 2.0 is available for download and code updates are available to SVN subscribers in the Ext SVN under branches/ext2.0.

Oct 01

Ajax and Javascript resources

You probably remember MiniAjax about which I posted way back in March.
Well now I finally got the chance to update with two not really new, but must visit web sites. The first one is AjaxRain.com, the site dedicated to aggregating Ajax, JavaScript and RIA controls & libraries. On the web site it says that should contain 755 + Ajax/Javascript/Dhtml examples and demos to download.

The second one is WebAppers - Only the Best and Free Resources for Web Application Developers. This one also contains significant amount of controls and plugins segmented into different categories.

Aug 28

Recently I came across this piece of software, it a solitaire game build on top of YUI. It is developed by Robert Schultz and over here you can read an interview with him.
Here is the game itself.

Aug 03

Thats an interesting post from Scott Guthrie’s blog about JavaScript Intellisense for Silverlight:

In addition to shipping VS 2008 and .NET 3.5 Beta 2 last week, my team also shipped the first release candidate of Silverlight 1.0 (it was a busy week at the office!). You can download the Silverlight 1.0 RC here.

I blogged about our Silverlight plans and roadmap a few months ago. This first Silverlight 1.0 release is focused on enabling rich media scenarios, and delivers high quality video and audio streaming and XAML based vector graphics and animation support in the browser. Silverlight is cross browser and cross platform, and can be easily added to any HTML page. Silverlight 1.0 supports a JavaScript programming model that makes it easy to integrate into an AJAX based page experience (note: Silverlight 1.1 will then add a cross-platform .NET framework programming model and enable RIA support).

JavaScript Intellisense for Silverlight 1.0

Over the last few weeks I’ve blogged about the new VS 2008 JavaScript Intellisense and VS 2008 JavaScript Debugging features in Beta 2. In addition to using these JavaScript tooling features when building pure HTML AJAX solutions, you can also now take advantage of them when targeting Silverlight 1.0.

Justin-Josef Angel earlier today released an awesome Silverlight 1.0 JavaScript Intellisense CodePlex Project that helps dramatically with this. It includes some nice annotated JavaScript helper methods that provide the ability to work with any XAML element in Silverlight with full intellisense in VS 2008.

To use it, simply add his JavaScript library to the top of your page:

You can then use Justin’s helper functions to take late-bound objects and indicate their JavaScript type:

This will then cause the VS 2008 JavaScript intellisense engine to automatically provide intellisense and syntax checking for you:

You can learn all about Justin’s library via his excellent tutorial post here. You can then download and participate in the codeplex project here.


read original