This is just a spot to keep miscellaneous links. It also shows you what a geek I am.
Saturday, December 05, 2015
How StackOverflow does caching
Tuesday, December 01, 2015
Git TFS with Git 2.5 and above - Solved!
In my case:
$ git tfs clone https://me.visualstudio.com/DefaultCollection/_versionControl $/MyProject TFS repository can not be root and must start with "$/". You may be able to resolve this problem. - Try using $/C:/Program Files/Git/MyProject
$ MSYS_NO_PATHCONV=1 git tfs clone https://me.visualstudio.com/DefaultCollection/ $/MyProject Initialized empty Git repository in C:/Projects/MyProject/.git/
EDIT:
You can also double up the initial quote after the $, e.g.:$ git tfs clone https://me.visualstudio.com/DefaultCollection/ $//MyProject Initialized empty Git repository in C:/Projects/MyProject/.git/
Tuesday, January 27, 2015
Doug Crockford on Monads and JavaScript
Here is his fascinating YouTube video on JavaScript and Monads.
Here is the sourcecode: https://github.com/douglascrockford/monad
He covers four monads in the talk:
- The Identity Monad
- The Ajax Monad
- The Maybe Monad, which eliminates the possibility of a null -- very cool!
- The Promise Monad, which apparently is not agreed upon by all to be a monad
How to Page in ASP.NET Web API
Paging in ASP.NET Web API: Introduction | Jerrie Pelser
Cool Visual Studio Extensions From Mads Kristensen
New handy Visual Studio extensions
New handy Visual Studio extensions - part 2
Monday, January 26, 2015
Learn F# or Haskell?
ML Dialects and Haskell: SML, OCaml, F#, Haskell - Hyperpolyglot
Then there are the various "99 Bottles" F# implementations. Interestingly, Don Syme's is one of the longer version. He is the creator of F# and arguably knows it the best.
99 Bottles of Beer | Language F#
Here's the Haskell version:
99 Bottles of Beer | Language Haskell
Friday, January 23, 2015
ASP.NET - don't minimize files if you're bundling!
So don't minimize the file in the IDE. Alternatively, set up some sort of automation that will automatically minimize the file or your minimized CSS and JavaScript files will be out of sync and your won't know why.
See this StackOverflow question: ASP.NET Bundling - Bundle not updating after included file has changed (returns 304 not modified)
Thursday, January 22, 2015
Adding only non-whitespace changes in Git.
Here's the command to add everything, ignoring whitespace-only changes:
git diff -w | git apply --cached --ignore-whitespace
Link here: http://stackoverflow.com/questions/3515597/git-add-only-non-whitespace-changes
Wednesday, December 10, 2014
Properly serving SVG files in IISExpress
- Open a console application with administrator privileges.
- Navigation to the IIS Express directory. This lives under Program Files or Program Files (x86)
- Run the command
appcmd set config /section:staticContent /+[fileExtension=’svg’,mimeType=’image/svg+xml’]
Wednesday, November 05, 2014
Git line ending fixups revisited
.gitattributes
, which is automatically created when you use Visual Studio to create a project that uses git as its version control system.I have a
.gitattributes
file that contains (among other things) this line at the top:The sequence of commands is the following:
First, add all changed files: Then, edit the
.gitattributes
file to comment out the "text=auto" line and save this file:
Then issue this command to un-stage all the files. It doesn't matter whether some of the files have meaningful changes. You're not resetting or undoing any file edits, you're merely removing them from the index:
Finally, restore the "text=auto" line in your .gitattributes
file and save that file:
You should be all set. If you issue a git status
command again you should see only the files that have meaningful changes, if any.
Thursday, October 23, 2014
Friday, September 26, 2014
Beyond SOLID: The Dependency Elimination Principle
Last post I explained why I don't teach the SOLID design principles. Read the post for more detail, but the primary reason is that SOLID encourages heavy use of dependencies. Applying SOLID to a codebase for even a short time will yield dependencies on abstractions everywhere -- quickly producing a codebase that is unintelligible.
Friday, September 05, 2014
git cherry
My quick understanding is that in many cases it means: show me everything that's NOT in upstream.
In other words:
or
git cherry less-stuff more-stuff
or
git cherry present future
or
git cherry past present
So to see what's in develop but not yet in master, type this:
git cherry master develop
Which means, essentially, show me everything in develop that's not (yet) in master.
Wednesday, August 20, 2014
Strongly-typed function callbacks in TypeScript
In TypeScript I can declare a parameter of a function as a type Function. Is there a "type-safe" way of doing this that I am missing?My favorite answer: http://stackoverflow.com/a/24034429/53107 from Drew Noakes:
Here are TypeScript equivalents of some common .NET delegates:interface Action<T> { (item: T): void; } interface Func<T,TResult> { (item: T): TResult; }
Renaming a remote branch in Git
git push <remote> <remote>/<old_name>:refs/heads/<new_name> :<old_name>
Example:
git push origin origin/hotfix/Cant-load-assembly.0:refs/heads/feature/Fix-cant-load-assembly :hotfix/Cant-load-assembly.0
Source: http://stackoverflow.com/a/21302474/53107
Monday, August 18, 2014
Inspecting AngularJS $scope using Firebug and Chrome Developer Tools
angular.element($0).scope()
From: http://blog.alexonasp.net/post/2014/05/27/Inspecting-AngularJS-24scope-using-Firebug-and-Chrome-Developer-Tools.aspx
Wednesday, July 30, 2014
Friday, June 20, 2014
Git - Refreshing a repository after changing line endings
Refreshing a repository after changing line endingsHere's the StackOverflow post from which GitHub gets their answer. There's also something interesting about removing the index, which I never knew about.
Trying to fix line-endings with git filter-branch, but having no luck
Thursday, April 10, 2014
Use Date Based File Archiving with NLog
Wednesday, April 09, 2014
My Favorite .NET Code Decorations a.k.a. Attributes
[MethodImpl(MethodImplOptions.Synchronized)]
The method can be executed by only one thread at a time. Locks the instance or, for static methods, the class.[EditorBrowsable(EditorBrowsableState.Never)]
Hides a method from Intellisense.Thursday, March 27, 2014
Migrate away from MSBuild-based NuGet package restore
Link: http://www.xavierdecoster.com/migrate-away-from-msbuild-based-nuget-package-restore.
Here are the instructions on how to undo it: http://docs.nuget.org/docs/workflows/migrating-to-automatic-package-restore. Note: where the article says "using TFS," read it as "using version control" because the instructions also apply to Git.
Update 4/4/14: You might have to close the solution and delete any .suo files or Visual Studio will stubbornly bring back the .csproj settings that you deleted.
Update 4/9/14: This doesn't appear very stable when using version control features where you backtrack in history -- for instance to merge a feature branch. Visual Studio stubbornly resurrects the import and target tag in the project file, and killing this won't work unless you first close the solution and delete the .suo file.
I'm actually considering moving back to NuGet package restore. At least it's reliable.
Second update 4/9/14: This doesn't play well with ReSharper's cool feature where it automatically adds NuGet packages to a project instead of just a reference.
Wednesday, March 05, 2014
Thursday, February 20, 2014
Tuesday, February 18, 2014
How to do a rebase with git gui
http://stackoverflow.com/questions/4830344/how-to-do-a-rebase-with-git-gui
Add this to the .gitconfig
file in your home directory to add rebase commands to the Tools menu:
[guitool "Rebase onto..."] cmd = git rebase $REVISION revprompt = yes [guitool "Rebase/Continue"] cmd = git rebase --continue [guitool "Rebase/Skip"] cmd = git rebase --skip [guitool "Rebase/Abort"] cmd = git rebase --abort [guitool "Pull with Rebase"] cmd = git pull --rebase
Wednesday, January 29, 2014
AngularJS Dependency Injection Cheatsheet
somethingController.controller('Name', ['$what', '$it', 'depends', 'on', function('$what', '$it', 'depends', 'on') {
// implementation, which returns a value, presumably.
}];
The core Angular dependencies (those in ng) are not listed in the angular.module() call, but they are listed in the .controller() call and in the function signature.
The 'What_it_provides' name seems to be used by the dependency injection framework in calls to angular.module(), i.e. the provider name, e.g. SomethingService. But the name would just be Something.
The 'Name' name seems to be used in parameter lists of implementation functions and in calls to controller(), factory(), etc.
See the example from the AngularJS tutorial step 11.
Friday, January 24, 2014
Tuesday, December 03, 2013
Remote Desktop Keyboard Shortcuts
From the article:
http://www.mydigitallife.info/keyboard-shortcuts-in-remote-desktop-connection-rdc-for-navigation/
- CTRL+ALT+END: Open the Microsoft Windows NT Security dialog box (CTRL+ALT+DEL)
- ALT+PAGE UP: Switch between programs from left to right (CTRL+PAGE UP)
- ALT+PAGE DOWN: Switch between programs from right to left (CTRL+PAGE DOWN)
- ALT+INSERT: Cycle through the programs in most recently used order (ALT+TAB)
- ALT+HOME: Display the Start menu (CTRL+ESC)
- CTRL+ALT+BREAK: Switch the client computer between a window and a full screen
- ALT+DELETE: Display the Windows menu
- CTRL+ALT+Minus sign (-): Place a snapshot of the entire client window area on the Terminal serverclipboard and provide the same functionality as pressing ALT+PRINT SCREEN on a local computer (ALT+PRT SC)
- CTRL+ALT+Plus sign (+): Place a snapshot of the active window in the client on the Terminal server clipboard and provide the same functionality as pressing PRINT SCREEN on a local computer (PRT SC)
Monday, November 04, 2013
15 Famous Business Books Summarized In One Sentence
To save you some time and money, we've made it possible. We boiled down some of the most popular and influential business books out there to their central lessons.
For those looking to bone up on some business theory, here are the highlights."
Monday, July 22, 2013
How to automatically number paragraphs in Word 2007
http://www.dummies.com/how-to/content/numbering-headings-in-word-2007-multilevel-lists0.html
The Shauna Kelly site has a 404. At least I think so -- her 404 is so confusing that I'm not even sure I'm looking at a 404. In any case, no instructions are found on her site on how to actually do it.
Wednesday, February 20, 2013
Tuesday, January 15, 2013
Finding jQuery Event Handlers with Visual Event
Monday, April 02, 2012
10 Value Proposition Examples
'via Blog this'
Tuesday, March 20, 2012
Using Backbone.js with CoffeeScript | Atomic Spin
Monday, January 09, 2012
Wednesday, November 23, 2011
MVC3 app_code directory
I just found out from K. Scott Allen’s MVC3 training video on Pluralsight that the app_code directory in MVC3 is alive and well. Basically the Razor helpers here are pre-compiled and can be accessed globally in the application.
Apparently the usage in a Razor page is as follows:
@Common.Script(“myscript.js”, Url)
Note to self: compare and contrast with shared “editor” partial views.
Note: I composed this post with Windows Live Writer 2011 but it doesn’t seem to play well with Blogger’s own editor. ¡Qué pena!
Tuesday, October 25, 2011
MVC3 ModelState and overwriting model properties
UPDATE 11/10/2011:
This only applies to values passed in via a POST (or a GET?) that you're attempting to override by changing the corresponding fields in the view model.
Wednesday, October 19, 2011
How To: Reset Identity column in SQL Server
Thursday, October 13, 2011
RegExes for replacing MVC3 hard-coded hrefs with @Url.Content hrefs
My app is sprinkled with lots of links like this:
<script src="../../Scripts/jquery-ui-1.8.11.min.js" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery-ui-1.8.11.min.js")" type="text/javascript"></script>
So the following search and replace with RegExes will work:
Find what: | "\.\./\.\.{/[^"]*}" |
Replace with: | "@Url.Content("~\1")" |
Include the quotes, and be sure to select "Use regular expressions."
Note that the consistent relative path "../../" must be changed as per your circumstances.
UPDATE on 11/2/11:
Now, according to this article, I see that Url.Content is supposed to be better anyway.
Tuesday, September 06, 2011
Wednesday, July 13, 2011
WCF Notes
To discover WCF services, make sure that https is turned off. This is done in two places, apparently:
- In the binding, on the Security tab, Mode property, make sure the property is not set to “Transport”.
- In the service behaviors, serviceMetadata, make sure httpsGetEnabled is set to false and that httpsGetEnabled is set to true.
When you’re done, turn those things back on again.
Common Design Patterns Resources : Steve Smith's Blog
Monday, July 11, 2011
Irony - .NET Language Implementation Kit.
Thursday, June 23, 2011
Cleaning up POSTs in ASP.NET MVC | Jimmy Bogard's Blog
"What we see over and over and over again is a similar pattern of:
[HttpPost] public ActionResult Edit(SomeEditModel form) { if (IsNotValid) { return ShowAView(form); } DoActualWork(); return RedirectToSuccessPage(); }
Where all the things in red are things that change from POST action to POST action."
Friday, June 10, 2011
How to replace all automatic properties of string type with a string type which is never null
In Visual Studio's Find and Replace dialog, type the following in the "Find what:" field:
public string \{:i\} \{ get; set; \}
Type this into the "Replace with" field:
private string _\1;\npublic string \1 \{\nget \{ return _\1 ?? ""; \}\nset \{ _\1 = value; \}\n\}
This pattern of performing a test in the getter versus the setter guarantees that it will never be null, and is the pattern used in the TextBox web control's Text property.
Afterwards you'll want to reformat the code, and possibly rename the backing fields, e.g. _FirstName, to be more camel-cased instead of being Pascal-cased(-like), e.g. _firstName instead of _FirstName.
Thursday, June 09, 2011
Date & Time Formats on the Web
Date & Time Formats on the Web: "There are several different formats used in different places in the technologies of the World Wide Web to represent dates, times and date/time combinations (hereafter collectively referred to as “datetimes” unless a distinction has to be made). This document presents a survey of the most significant, details which formats are mandated by the key technologies of the web, and offers advice for deciding what formats you should use in your own web applications."
Wednesday, May 11, 2011
Josh Reed Schramm - Software Development Thoughts And Opinions - Blog - Unit Testing Role Based Security w/ ASP.Net MVC
Josh Reed Schramm - Software Development Thoughts And Opinions - Blog - Unit Testing Role Based Security w/ ASP.Net MVC: "I took Paul's code and turned it into a series of three controller extension methods which verify if the entire controller requires authorization, a particular method requires authorization or if a particular method requires a given role (i have not yet written the obvious 4th case - an entire controller requires a given role but it should be trivial.)"
Tuesday, May 10, 2011
Compiling MVC Views In A Build Environment
But if you created your project using an older version of ASP.NET MVC including ASP.NET MVC 3 RTM (the one before the Tools Update), your csproj/vbproj file will still have this bug."
Thursday, April 21, 2011
Knock Me Out
Monday, April 18, 2011
Friday, April 08, 2011
Why I Still L.O.V.E. ASP.NET WebForms - John Katsiotis
Thursday, April 07, 2011
Don't mock HttpContext
But don't."
Monday, April 04, 2011
dapper-dot-net - Simple SQL object mapper for SQL Server - Google Project Hosting
dapper-dot-net - Simple SQL object mapper for SQL Server - Google Project Hosting: "Dapper - a simple object mapper for .Net
Dapper is a single file you can drop in to your project that will extend your IDbConnection interface."
Friday, April 01, 2011
Setting the Text of a ListControl in ASP.NET
listControl.Text = "4 Year College";
Well, unfortunately, no! The "Text" property is named that way for consistency across all ASP.NET controls and refers to the form value that is passed to the server when the page is submitted. So unfortunately for me, the "Text" property silently rejected my attempt to set it and the page did not work.You may be asking yourself why I am trying to set the visible text and not the value of the control. The reason is that the application I'm working on receives the displayed text from a web service and not the value that is passed in the form variables. Why not create a dictionary, look up the the text string in the dictionary, and pass that to the control?
The answer? I already have a dictionary. It's called the SELECT control itself. The generated HTML for my control is, say, the following:
This control is essentially a dictionary of key-value pairs: the key is the value attribute of the option tag, and the value is the visible text that is displayed for the given item in the dropdown list. So in the spirit of Don't Repeat Yourself (DRY), I wrote a extension function to allow me to set not just the value but also the text. I give you ListControlExtensions.cs:
Here's a typical usage. In this particular scenario, my data should be scrubbed, but if not I log a warning:
Monday, March 28, 2011
Five advanced Git merge techniques : Inside P4
by Edward Z. Yang
Have you ever performed a merge in Git and not have it quite turn out the way you wanted it to? For example, you accidentally converted all of your UNIX line endings to DOS line endings, and now the entire file reports a conflict? Maybe you see a conflict that you don't really care about resolving, and want to resolve as theirs? Or perhaps the conflicted file is empty and you can't figure out just what happened there?"
Friday, March 25, 2011
Caffeine-Powered Life - Nested Collection Models in ASP.NET MVC 3
Saturday, March 19, 2011
IIS Express FAQ : IIS Express : Microsoft Web Platform : The Official Microsoft IIS Site
A: Yes, IIS Express uses the same applicationhost.config and web.config files supported by IIS 7.x. The key difference is that with IIS Express, the configuration is maintained on a per-user basis. In particular, whereas IIS has a global “applicationhost.config” file, IIS Express maintains a user-specific “applicationhost.config” file in the %userprofile%\documents\IISexpress\config” folder. This lets a standard user run IIS Express and also lets multiple users work on the same machine independently, without conflicting with each other. Some settings require Administrator user rights to set and modify (see question above about running as a standard user)."
Thursday, March 10, 2011
Tuesday, February 22, 2011
Sunday, February 20, 2011
Reimplementing LINQ to Objects: Part 43 - Out-of-process queries with IQueryable - Jon Skeet: Coding Blog
- Expression trees are used to capture logic in a data structure which can be examined relatively easily at execution time
- Lambda expressions can be converted into expression trees as well as delegates
- IQueryable
and IQueryable form a sort of parallel interface hierarchy to IEnumerable and IEnumerable - although the queryable forms extend the enumerable forms - IQueryProvider enables one query to be built based on another, or executed immediately where appropriate
- Queryable provides equivalent extension methods to most of the Enumerable LINQ operators, except that it uses IQueryable
sources and expression trees instead of delegates - Queryable doesn't handle the queries itself at all; it simply records what's been called and delegates the real processing to the query provider"
Reimplementing LINQ to Objects: Part 43 - Out-of-process queries with IQueryable - Jon Skeet: Coding Blog
- Expression trees are used to capture logic in a data structure which can be examined relatively easily at execution time
- Lambda expressions can be converted into expression trees as well as delegates
- IQueryable
and IQueryable form a sort of parallel interface hierarchy to IEnumerable and IEnumerable - although the queryable forms extend the enumerable forms - IQueryProvider enables one query to be built based on another, or executed immediately where appropriate
- Queryable provides equivalent extension methods to most of the Enumerable LINQ operators, except that it uses IQueryable
sources and expression trees instead of delegates - Queryable doesn't handle the queries itself at all; it simply records what's been called and delegates the real processing to the query provider"
Friday, February 18, 2011
Formula for computing how many end users to interview
"Stalking Customers
When I worked at Intuit (makers of TurboTax, Quicken & QuickBooks) we used a method called "follow-me-home." It was as effective as it was simple in identifying customer problems and needs.We went to a customer's house or workplace and watched them do what they do and recorded their behavior and problems they encountered and how they solved them. Data from follow-me-homes were used for new product ideas and improving existing products. "
Tuesday, February 15, 2011
Scott Hanselman - Creating a NuGet Package in 7 easy steps - Plus using NuGet to integrate ASP.NET MVC 3 into existing Web Forms applications
Also my comment on how to wire up the resultant .csproj file to have the MVC context menus:
Woot! I added the GUID {E53F8FEA-EAE0-44A6-8774-FFD645390401} to the ProjectTypeGuids node of the .csproj, and it's a bone fide MFC project with context menus in the Solution Explorer.
This is the result, with the new GUID underlined:
Wednesday, February 09, 2011
The perils of using Func instead of Expression in an IQueryable
I learned the hard way: when using IQueryable against a database, any predicates handed around should be Expression<func<type, bool>> instead of just Func<type, bool>. Func<type, bool> is evaluated in memory! That means that the entire table is fetched from the database, then filtered in memory. Bad, bad, bad!
Friday, February 04, 2011
Video Series: How To Give Great Presentations
Friday, January 21, 2011
Scaffold your ASP.NET MVC 3 project with the MvcScaffolding package « Steve Sanderson’s blog
How To Use Amazon EC2 as Your Desktop - RestBackup™ Blog
Scott Hanselman - Link Rollup: New Documentation and Tutorials from Web Platform and Tools
Scott Hanselman and Rick Anderson collaboration and Mike Pope (Editor)
Both C# and VB versions:
- Intro to ASP.NET MVC 3
- Adding a Controller
- Adding a View
- Entity Framework Code-First Development
- Accessing your Model's Data from a Controller
- Adding a Create Method and Create View
- Adding Validation to the Model
- Adding a New Field to the Movie Model and Table
- Implementing Edit, Details and Delete
- Source code for this series"
Michael C. Kennedy's Weblog - 11 Killer Open Source Projects I Found with NuGet
Wednesday, January 19, 2011 5:18:17 PM (Pacific Standard Time, UTC-08:00)
So maybe I'm late to the party, but I recently started playing with NuGet. It's a killer new way to find, install, maintain, and manage references to open source libraries in Visual Studio 2010. Plenty of people have written about it (Phil Haack and Scott Hanselman for example). Let's just say you should learn about NuGet if you don't know it already.
What I want to talk about is all the cool open source projects I found just by flipping through the pages of the NuGet directory in the Visual Studio 'Add Library Package Reference' dialog."
Monday, December 27, 2010
Kill That Util Class!
Saturday, December 11, 2010
The protocol-relative URL
<img src="//domain.com/img/logo.png">
If the browser is viewing that current page in through HTTPS, then it'll request that asset with the HTTPS protocol, otherwise it'll typically* request it with HTTP. This prevents that awful "This Page Contains Both Secure and Non-Secure Items" error message in IE, keeping all your asset requests within the same protocol."
Thursday, December 09, 2010
Algorithmia Source Code released on CodePlex - Frans Bouma's blog
The undo/redo looks intriguing.
Saturday, December 04, 2010
CODE Magazine - Article: Behavior-Driven Development
Wednesday, November 24, 2010
Naïve Bayesian Classification Using C# and ASP.NET
To understand and code for the na ve Bayesian algorithm, we will do some math to understand the procedure. The primary equation for the Bayes rule is:
P(A|B) = (P(B|A) * P(A)) / P(B)"
There's also this: http://nbayes.codeplex.com/
and this: Inference in Belief Networks - CodeProject
InfoQ: Testing Techniques for Applications With Zero Tests
InfoQ: How To Do Large Scale Refactoring
Tuesday, November 23, 2010
InfoQ: Fulfilling the Promise of MVC
Monday, November 22, 2010
So You Want to Interview for a Senior Developer Position…. « If & Else
Saturday, November 20, 2010
10 Steps To Become Better .NET Developer - Blog - CQRS and Cloud Computing
Friday, November 12, 2010
Thursday, November 11, 2010
Jurassic - A Javascript Compiler for .NET
Jurassic is an implementation of the ECMAScript language and runtime. It aims to provide the best performing and most standards-compliant implementation of JavaScript for .NET. Jurassic is not intended for end-users; instead it is intended to be integrated into .NET programs. If you are the author of a .NET program, you can use Jurassic to compile and execute JavaScript code.
Features
- Supports all ECMAScript 3 and ECMAScript 5 functionality
- Simple yet powerful API
- Compiles JavaScript into .NET bytecode (CIL); not an interpreter
- Deployed as a single .NET assembly (no native code)
- Basic support for integrated debugging within Visual Studio
- Uses light-weight code generation, so generated code is fully garbage collected"
Wednesday, November 10, 2010
Building iPhone Apps with HTML, CSS, and JavaScript
Monday, November 08, 2010
Scrum Alliance - New to User Stories?Written for the Scrum Alliance. A CSP’s perspective on user stories, requirements, and use cases
Sunday, November 07, 2010
Ultimate Guide to Website Wireframing
Saturday, November 06, 2010
Git Source Control Provider
FsCheck: A random testing framework
Wednesday, November 03, 2010
Saturday, October 23, 2010
Test with Windows Live Writer
Everyone is telling me that this tool is really the cat’s meow. So far – about 20 words into it – it’s really not half bad.
Let’s insert a photograph, even though this blog isn’t so much of a blog as a glorified collection of bookmarks.
Hmmm, kinda cool!
I wonder if this would work with ScrewTurn Wiki? (Although I would tend to doubt it, but you never know.)
Saturday, October 16, 2010
A few thoughts on jQuery templating with jQuery.tmpl | Encosia
Overall, jQuery.tmpl is a great step in the right direction. It’s small, it’s simple, and it’s fast. Overloading append() to allow the append(Template, Data) syntax is phenomenal. That approach feels more like idiomatic jQuery than anything else I’ve used, including jTemplates."
Monday, October 11, 2010
Teach Visual Studio Your Own Language -�Easy! - Journal - Rinat Abdullin
BDD, Fluent Interface Generator, and a new .NET 3.5 Parser generator
Tuesday, October 05, 2010
Javascript Libraries and ASP.NET: A Guide to jQuery, AJAX and Microsoft - Articles - MIX Online
NET jQuery Extensions at GitHub
Highlights include:
"Templating – Previously referred to as jQuery.tmpl or jQuery-tmpl, the jQuery Templating feature was Microsoft’s first foray into working with the jQuery team and community. Though its inclusion in jQuery isn’t planned until jQuery 1.5 is released, you can begin using it in plugin form immediately. That plugin is currently available on GitHub: http://github.com/jquery/jquery-tmpl"
and
"Data Linking – The next feature that may be a precursor to more official things to come is the jQuery-datalink plugin, which is also available on GitHub: http://github.com/nje/jquery-datalink. With this plugin, you can “link” JavaScript objects together so that they remain synchronized when changes are made to one or both of them. The canonical example of this is linking a JavaScript object’s properties to corresponding fields in a form, to eventually automate tasks such as change tracking and submission."
More from Scott Guthrie:
"jQuery Templates
The jQuery Templates plugin enables you to create client templates. For example, you can use the jQuery Templates plugin to format a set of database records that you have retrieved from the server through an Ajax request.
You can learn more about jQuery templates by reading my earlier blog entry on jQuery Templates and Data-Linking or by reading the documentation about it on the official jQuery website. In addition, Rey Bango, Boris Moore and James Senior have written some good blog posts on the jQuery Templates plugin:
When the next major version of jQuery is released -- jQuery 1.5 -- jQuery Templates will be included as a standard part of the jQuery library."
Monday, October 04, 2010
Sunday, October 03, 2010
Thursday, September 09, 2010
jQuery Grid Recommendations - Stack Overflow
jQuery Grid Recommendations - Stack Overflow: "The best entries in my opinion is Flexigrid and jQuery Grid (1st & 2nd in list). The others are included for completeness.
Flexigrid: http://flexigrid.info/
jQuery Grid: http://www.trirand.com/blog/
jqGridView: http://plugins.jquery.com/project/jqGridView
Ingrid: http://reconstrukt.com/ingrid/
SlickGrid http://github.com/mleibman/SlickGrid
I like the jQuery Grid (#2 above) better than Flexigrid mostly because it supports editable cells, and has very good documentation and samples on the website."