Archive for January, 2011

VIDEO – Microsoft WebMatrix – Form Field Validation

In video number 6 in this Microsoft WebMatrix Series implement form field validation in ASP.NET Web Pages.

3GP File
3GP
iPod File
iPod
MP4 File
MP4
MP3 File
MP3
M4A File
M4A
M4V File
M4V
PSP File
PSP
WMV File
WMV
ZIP File
Zip
WMA File
WMA
WMV File
WMV

VIDEO – Microsoft WebMatrix – Working with Forms

In video number 5 in this Microsoft WebMatrix Series we start working with forms in ASP.NET Web Pages and the  Razor Syntax.

3GP File
3GP
iPod File
iPod
MP4 File
MP4
MP3 File
MP3
M4A File
M4A
M4V File
M4V
PSP File
PSP
WMV File
WMV
ZIP File
Zip
WMA File
WMA
Zune File
Zune

php|tek Webcast Series

Those busy guys at php|tek have come up with an awesome PHP Webcast Series.

Join me in attending


February 4th – Josh Butts on Phactory for Unit Testing
Unit Testing with databases is painful at minimum and difficult at best. In this session, we’ll talk about Phactory and how to use it to create objects, generate data, and even test against MongoDB.
Register here »


February 18th – Clark Sell on What is Microsoft WebMatrix?
Did you know WebMatrix could download WordPress, MySQL, PHP, allow you to make some changes and then deploy it right to your ISP? In this webcast, Clark will provide an overview of the newly released WebMatrix. Clark will explain where it fits into the overall Web Deployment story on Windows.
Register here »


March 4th – Nate Abele on Lithium Framework
Have you heard about this "next generation" of PHP frameworks and wondered what all the hype is about? Are you using PHP 5.3, but still have trouble getting your head around features like closures and where they’re useful? In addition to giving you an overview of how to build an application with Lithium framework and an in-depth look at the flexible filter system and advanced class design, this session will delve into how different patterns and paradigms (including object-oriented, aspect-oriented, functional and even procedural) come together to make Lithium one of the most flexible, but also one of the most pragmatic, PHP frameworks available.
Register here »


March 18th – Bill Karwin on SQL Antipatterns: The Next Generation
Following his popular 2010 book "SQL Antipatterns," Bill Karwin describes all-new blunders developers frequently make when using SQL and shows how to solve these problems with PHP examples. Topics include: Crosstab Crossroads, Shell Game, Transaction Encapsulation, and Reading Off the Script.
Register here »


April 1st – Aaron Brazell on Pluggable Authorization in WordPress
This session will look at ways to override and "hijack" the authentication process allowing WordPress to leverage existing third-party authentication systems such as LDAP or OAuth. It will also examine ways to allow third-party applications to leverage WordPress’ authentication system for single sign-on capability across a non-homogenous suite of applications.
Register here »


April 15th – Travis Swicegood on Node.js
Node.js allows developers to rapidly build network applications that can handle tens of thousands of users. At least, that’s the promise. This talk introduces developers to Node.js and its ecosystem. It separates the hype from the reality and helps them answer the question, "is Node right for me?"
Register here »


April 29th – Peter Laudati on Deploying PHP Apps to Windows Azure
In this webcast, we’ll provide an overview of Azure’s services tuned specifically to the needs of a PHP developer. We’ll look at how PHP applications can be deployed to Azure, as well as how Azure’s services can be consumed from PHP apps via the PHP SDK. Want to offload your images and other large media files from your existing shared host? We’ll show how you can you can do this using Azure’s storage service. We’ll also look at SQL Azure, the relational database service provided by Azure, and show how you can migrate your MySQL data to it.
Register here »


May 13th – Matthew Weier O’Phinney on Git Over it
With the explosion of distributed version control systems (DVCS) in the past decade, a few have risen to the top in terms of adoption, including Mercurial, Bazaar, and Git. In this webinar, we’ll look at the basics of Git and some common workflows you’ll encounter when using Git in the real world, collaborating with others.
Register here »

VIDEO – Microsoft WebMatrix – Page Specific Styling

In video number 4 in this Microsoft WebMatrix Series we impliment Page Specific Styling with ASP.NET Web Pages and the  Razor Syntax.

3GP File
3GP
iPod File
iPod
MP4 File
MP4
MP3 File
MP3
M4A File
M4A
M4V File
M4V
PSP File
PSP
WMV File
WMV
ZIP File
Zip
WMA File
WMA
Zune File
Zune

BOOK–Murach’s PHP & MySQL

Yep! Another great Murach’s book.

This book is the quintessential learning resource for PHP development.

Like all of Murach’s books, it teaches far more then the nuts and bolts of the technology but also what the right ways to use them are.

The book is up to date with PHP 5.3 and takes you through getting the PHP Stack set up (Windows or Mac)

It quickly covers foundational requirements like HTML, CSS, and HTTP and then jumps into how to write and debug PHP code.

It not only covers the breadth of detail about web programming specifics with PHP, like cookies, images, uploads, etc. but also provides great higher level guidance.

There are sections on often overlooked topics for new PHP developers like Object Oriented Programming and using the MVC pattern in PHP.

As I often say about Murach’s books – if I were teaching a course on PHP development, this is the book I would teach the course from. Not only a great learning / training resource, but once you’ve read it, it becomes a great desk reference.

Calling .NET Framework Classes from WebMatrix

I got an email this afternoon from someone who is coming up to speed with WebMatrix and needed some functionality that they couldn’t find in any of the helpers in the gallery.

It is easy to forget that ALL OF .NET is still there at our disposal when programming with WebMatrix / ASP.NET Web Pages.

Using functionality that exists in the .NET Framework is easy.

All we need to do is pull in a name space just like we would in any other ASP.NET page.

Suppose we want to use the Regular Expression classes from .NET.

First, at the top of a .cshtml page we place a “using” statement and specify the name-space that we want to access.

 @using System.Text.RegularExpressions;
    @{  
        Layout = "~/Shared/_SiteLayout.cshtml";
        Page.Title = "We Look Forward to Hearing from you!";
    }

Then we can create a .NET “Regex” object passing in the expression that we want to validate against and then call the “IsMatch” method 

 var isValidEmail = true;
   var pattern = @"^[a-zA-Z][\w\.-]*[a-zA-Z0-9]@[a-zA-Z0-9][\w\.-]*
                                    [a-zA-Z0-9]\.[a-zA-Z][a-zA-Z\.]*[a-zA-Z]$";
   var regExp = new Regex(pattern);
   isValidEmail = regExp.IsMatch(contactemail);
   if(isValidEmail == false)
     {
     validationerrors = true;
     @:ERROR : "Contact Email" Is Required - 
                You must enter a VALID Email Address.<br />   
     }

I’ll be building a sample application using WebMatrix and implementing a number of features that use the .NET framework, but this sample should illustrate how easy is is to get under the WebMatrix covers to .NET !

10 Reasons Developers Should Blog.

Chris (a developer friend) sent me a message on Twitter today ( @MisfitGeek ). He was trying to explain o his wife why he spends time blogging and wanted some suggestions as to why blogging is worth the time.

Ok Chris, here you go.

1.) Blogging is a great way to get feedback on your code. When you publish code on your blog it’s like a peer code review with hundreds of friends. You can’t help but improve your coding skills and THAT is an investment in your own professional future.

2.) Keeps you learning. It’s easy to get into a rut doing “what you do” which the stuff tat you already know. In the software development business, that’s professional suicide. When you blog you get to explore new technologies and concepts that you are not yet immersed in with your “day job”. You also learn about things like SEO, RSS, etc. Staying current is part of maintaining your market value and especially in the tough current economy, that’s a good thing.

3.) You get your own Crisis Support Team. One person can’t know everything. I can’t tell you the number of hours that I’ve saved by posting some obscure problem on my blog only to have a reader share a solution with me that would have taken me forever to stumble upon by my self.

4.) You blog becomes your own personal information data base. Can’t remember how you solved that problem ? What was the like to that cool gadget ? It’s all saved on you blog. You

5.) You blog is your door to the social network. Find a job, hire a new developer for your team, learn about interesting events. The more popular your blog becomes, the more folks will want you to know about what they have going on.

Read the rest of this entry »

RIAStats.com

Check out this cool site that tracks RIA Plugin Adoption

RIAStats-1-26-2011 8-56-53 AM

VIDEO – Microsoft WebMatrix – Templating Features

In video number 3 in this Microsoft WebMatrix Series we review the features in WebMatrix that  help up with markup reuse to create “templates” for our pages and achieve a consistent look and field.

3GP File
3GP
iPod File
iPod
MP4 File
MP4
MP3 File
MP3
M4A File
M4A
M4V File
M4V
PSP File
PSP
WMV File
WMV
ZIP File
Zip
WMA File
WMA
Zune File
Zune