23 Jul 2008
If you need one or more actions,
I can be your design of choice.
I can organize your requests
or back them out, itโs your choice.
Each object has itโs parameters
That tells them how to act.
I am made of generic components;
Each one defines their internal pact.
a. Command
~/riddle by me
Read More »
22 Jul 2008
q. Iโm in some ways like a elaborate disguise;
a window dressing concealing something immense.
I offer an unified perspective to numerous systems;
I excel at making complex things make sense.
a. Faรงade
~/riddle by me
Read More »
22 Jul 2008
I have recently started using jQuery and Iโve been quite impressed. I found integrating jQuery most useful while I developed my first ASP.NET MVC Preview 3 application.
jQuery was able to simplify some of the things I would have had to write nasty looking View code otherwise.
For example, I wanted to alternate every other row in a table with a different color. To do this in the View I initially created a counter variable and did a mod 2 to apply the CSS class. Once I integrated jQuery I was able to remove that messy code throughout my entire View and just replace it withโฆ
1: <script type="text/javascript">
2: $(document).ready(function(){
3: $("#tblList tr:odd").addClass("alternatingRow");
4: $("#tblList tr:even").addClass("row");
5: });
6: </script>
After I got a little familiar with jQuery I branched out and used it to create an accordion navigation menu with little effort.
1: $("#menu li div.subMenuItems").hide();
2: $("#menu li div.parentMenuItem").click(function()
3: {
4: $("#menu li div.subMenuItems:visible").slideUp("slow");
5: $(this).next().slideDown("slow");
6: return false;
7: });
There are several other helpful areas in my ASP.NET MVC application that I found jQuery to be very convenient, efficient, and resulted in a cleaner code base.
If you havenโt used jQuery before I highly recommend you check it out.
Read More »
21 Jul 2008
The new version of ASP.NET AJAX is now available as a preview release.
The future of ASP.NET AJAX can be found in the
Roadmap document hosted on the CodePlex website.
The preview 1 release contains somewhat complete versions of the following features
- Client-side template rendering
- Declarative instantiation of behaviors and controls
- DataView control
- Markup extensions
- Bindings
Feel free to
download the preview yourself and kick the tires.
Read More »
21 Jul 2008
For those of you who like a visual representation of your commonly used types and namespaces, then you are in luck! Microsoft has conveniently created a nice poster highlighting Microsoft Framework 3.5.
Feel free to download the full copy from their website.
Read More »