Geeks With Blogs
Phubar Baz Musings of an HTML5 Programmer August 2011 Entries
Path.Combine
Here's a little used gem in .Net. In the Path class there is a Combine method. What this method does is to properly combine two parts of a file path. For example, you may have a path that you want to write a file to and a name of the file to write. I've seen a lot of code where in this case most programmers just string concat the path and file name. This doesn't always work right if you don't think about it. That's where Path.Combine comes in. You don't have to think about the details of combining ......

Posted On Friday, August 12, 2011 10:16 AM

Javascript Application Basics
Now that I've got a few javascript applications under my belt, I'm strating to see a pattern emerge. A javascript app for me always starts with three files. An html, a css, and of course a js file. This is the triangle that makes the base for your application to build upon. The fourth piece that I always include is a reference to jQuery. I wouldn't even try to write a javascript app without it. It's the defacto framework that makes javascript programming tolerable and should be included in any project ......

Posted On Thursday, August 4, 2011 12:42 PM

Copyright © PhubarBaz | Powered by: GeeksWithBlogs.net