jQuery

Lately I have been evaluating a few JavaScript based UI libraries for both my projects at work and to use for a new version of the bike climbs site called 39x27.com: it was quite nice to see that almost all component vendors are now embracing, some more than others, JavaScript together with the more traditional Web Controls for ASP.NET Web Forms. In this post I’m going to briefly cover the reasons why I ended up choosing Wijmo, and then I’m giving a quick introduction on the set of widgets available. Why Wijmo? My first, and...

As last year, before going on holiday I’m list some of the books that are in my reading list. It’s not entirely about .NET book, but will also cover other languages not related with .NET development at all, like Scala or Arduino. JavaScript and jQuery I think JavaScript is still the most unknown language among all the ones used to write web applications: mostly due to the fact that it lives in the limbo between developer and designer. JavaScript: The Good Parts It seems incredible, but I never read this “must have” book about the...

In my current project I'm starting to develop a new web application using ASP.NET MVC and given all the environmental conditions, choosing the stack, from the tools to the libraries was not an easy task. I had to come to a few compromise to cope with all the different "forces" involved, so I though it would have been a good idea to share my reasoning and the final decision to show an example how an architect that works in "normal" company (as opposed to HeadSpring and such kind of on-the-edge companies) has to balance between what is the best possible...

Now that my book is on shelves, I’m out of things to do when I come back from work. Furthermore during this year I bought or I was given quite a few interesting programming book, so I think I’ll start using my spare time to improve my skills. Here is the list of books I’m going to read, some of which I think are a must read for all .NET developers. Frontend development and JavaScript I’m a web developer at heart, and I truly believe that a web developer must know everything about Javascript, CSS and HTML....

Looking deeper into the raw data of the survey about Ajax adoption among .NET developers I found some interesting figures that show a probably different mindset you get when you start working with ASP.NET MVC. Let’s see the following table, that show the percentage of developers that use jQuery vs the MS Ajax Stack based on which web UI framework they are using. ...

Almost one month ago I created a survey in order to try and understand how .NET developers are using Ajax. And also to compare it with the results I collected at the end of 2007. I left the survey running a few weeks and once I received around 2500 responses I closed it: but without further ado let’s have a look at the results, and later I’ll do a more in depth analysis of the data collected. The results The most used Ajax/JS library among .NET developers is jQuery, which is used by the 71,4% of...

UPDATE: The survey is closed. The results are published: Ajax survey 2009: jQuery and MS Ajax are almost tied. After 3 days and a half, with a weekend and a public holiday in between, the survey about Ajax adoption among .NET developers already received 1047 responses. Here some quick stats: an incredible (in my eyes) 5% claims he is not doing Ajax development at all; the most used web frameworks is pretty obviously WebForms (89%) followed by ASP.NET MVC (38%); the most used JavaScript library is jQuery...

Lately I’m trying to get deeper into jQuery and during one of mine information hunting sessions I found this awesome video presentation of jQuery, by Ben Nadel. It’s a 1h45min screencast that covers all the aspects of jQuery, from the simplest UI Effects to the more complicate Ajax requests, the powerful data() method till plugin authoring. I think it’s a very interesting presentation to watch even if you are experienced jQuery user as it explains the concepts behind it in a very clear way. In particular, I really loved how he explained closures Or you can just...

Less than a month ago I reviewed my 2 years of blogging and I listed my top 10 posts ever. Looking back at 2008, I noticed that I blogged a lot about ASP.NET MVC. But looking at the stats probably this is not yet a popular topic, since it’s too early in the product lifecycle: in fact the most popular post of the year is about jQuery. And since my figures are not that high, it’s enough to have a post on the homepage of non .NET social bookmarking site (like reddit) for one day, that the number of views...

Validators are a great part of the ASP.NET framework: they provide a standardized and easy way to add validation to form fields. But even if the framework provides different kinds of validators, there are so many different validations patterns that sometimes you have to write custom code to match your specific requirements. I wrote a post a few months ago about how to write a custom validator for a Checkbox list, but I was dealing with a completely new validation pattern. But what if I only want to enable the validation of certain field based on certain conditions? Or...

A month ago a popular CSS blog asked: "What is your Javascript library of choice?" Yesterday, after having received more than 1600 answers, he published the results. The winner is clearly jQuery, with more than 50% of the preferences (actually 52%). The second library is MooTools with 15% and third comes Prototype with 12%. As the author of the survey says, the audience of his website is mainly composed by designers, so the results are a bit biased toward jQuery (which has been designed to port the CSS way of thinking into JavaScript development). But...

A few weeks ago I started to play around with jQuery and I already banged my head against some small gotchas of the framework. But a comment made by Jake Scott opened my eyes: I recommend you read (if you haven't already) Manning jQuery in Action, its the best book on Javascript ever :) Even if I might not second the "best book on Javascript ever" part of the comment, I got the book yesterday afternoon and I already read 4 chapter of the book while on the train. I've to say that the...

Lately I've been playing a bit with jQuery, one of the raising javascript frameworks and I found out something I was not expecting to find. But let's step back a bit: in jQuery the dollar sign function $ is a shortcut for the main function of the framework which is used to select html elements in the page. This $ method accepts a css-like selector as argument, so if you want to select a specific element by its id you have to use the hash: $("#myElementId") returns a reference to the DOM element boosted by jQuery. We can say it's...

UPDATE: I setup a survey focused only on .NET development here. Ajaxian, blog focused on everything related to Ajax development and JS libraries, last week announced a survey about the state of Ajax usage among developers and in the enterprise. The questions were simple: Are you currently using Ajax? Which programming language/web framework are you using Ajax in conjunction with? Which Ajax toolkit, framework or JS library are you using? Yesterday they published the results of the survey, which has been answered by 2618...