11 Sep 2008

Philly .NET User Group Meeting for September 2008

No Comments Uncategorized

I will be presenting September 17, 2008 at Philly .NET User Group Meeting.  My talk will be on:

Creating a modern, web 2.0, application with MVC and jQuery with a focus on doing this in a RESTful manor.  My goal is for the developers in attendance to learn how to create a RESTful website design using MVC and implement that RESTful design on the front end with some simple jQuery. These principals will be demonstrated by creating a simple Twitter like application for sharing messages. All the source code will be available via my website at http://www.coderjournal.com after the presentation.

The group will be meeting at the Microsoft Malvern Campus, located at 45 Liberty Blvd, Malvern, PA 19355.

If you think you might attended the meeting please make sure to register, so that Bill has an accurate count for the food order.

philly.net

User Group News

* Please distribute this notice throughout your development community!
We have some great meetings lined up for the next few months. Please take a look at the upcoming schedule on the web site.
September 17 ASP.NET Dynamic Data, MVC & Web 2.0
Wednesday

Malvern, PA

Our monthly meeting will be held at the Microsoft Greater PA Office in Malvern, PA on Wednesday, September 17 from 5:30-8:30. Refreshments are provided courtesy of Vovéo Marketing Group. Please register on our web site. Detailed directions are on the Microsoft Greater PA web site.
5:30 Rachel Appel, Appel Consulting An Introduction to ASP.NET Dynamic Data
Rachel Appel, Appel Consulting If you are tired of the same old ASP.NET webforms, GridViews, and ADO.NET data access code that make up your current applications, then you’ll want to take a closer look at ASP.NET Dynamic Data.  ASP.NET Dynamic Data is Microsoft’s new technology that provides a template infrastructure for your application, page and fields based on your application’s data model. In this session you will learn concepts and use of application templates to create ASP.NET dynamic data web application. We’ll then create customizations at the application and page levels showing how easy website maintenance is when using ASP.NET Dynamic Data. We’ll also cover field level customizations by supplying data display formats, custom field types, and data validation based on the application’s data model.

Rachel Appel lives in Northeastern Pennsylvania and is the senior technology consultant at Appel Consulting. Rachel is an MVP and a member of ASPInsiders, and holds the MCT MCAD & MCSD certifications.  She has been working as an instructor, software developer, architect and DBA for a wide variety of organizations. She is the Vice President and a regular speaker of the dotNetValley user’s group, as well as an active member in other local user groups of Northeastern Pennsylvania and the tri-state area.  Rachel’s expertise lies within developing solutions that align business and technology using the Microsoft .NET family of products.

6:45 Q&A Rob Keiser & Dani Diaz, philly.net co-leaders, ask questions, get answers from your peers!
7:00 Break Meet your peers. Refreshments and drinks courtesy of Vovéo Marketing Group.
7:15 Nicholas Berardi, Vovéo Marketing Group MVC & Web 2.0
Nicholas Berardi, Vovéo Marketing Group Creating a modern, web 2.0, application with MVC and jQuery with a focus on doing this in a RESTful manor.  My goal is for the developers in attendance to learn how to create a RESTful website design using MVC and implement that RESTful design on the front end with some simple jQuery. These principals will be demonstrated by creating a simple Twitter like application for sharing messages. All the source code will be available via my website at http://www.coderjournal.com after the presentation.

Nicholas Berardi works for Vovéo Marketing Group in Malvern, PA as a Software Architect.  He is the co-author of ASP.NET MVC Website Programming, Problem, Design, Solution published by Wrox and will be released early 2009.  He received his BS in Information Science and Technology from The Pennsylvania State University in 2003.  Nick has been using C# and the .NET framework since its beta and has over 10 years of experience in web development and related technologies. He helped to develope one the first websites on the internet to use the ASP.NET MVC framework, in a production environment, at http://www.ideapipe.com.  He blogs at http://www.coderjournal.com.

8:30 Closing & Raffle! Books, software, and other goodies!

14 Aug 2008

Is Stackoverflow.com really a Web 2.0 site?

1 Comment Uncategorized

I have been lucky enough to be one of the few and many people that have had the chance to preview the beta of stackoverflow.com. It has a very nice look and feel in my opinion and seems to work very well for an early beta. Jeff Atwood deserves major kudos. However I have had one plaguing question?

Is stackoverflow.com really a Web 2.0 site?

I started thinking about this question a couple days ago, because as many of you know I have my own project, that isn’t much different functionality wise than stack overflow. As I started cataloging everything that a Web 2.0 site is suppose to consist of, the more I asked the question what is a Web 2.0 site, and is stackoverflow.com really one?

Tim O’Reilly defines Web 2.0 as the following:

Web 2.0 is the business revolution in the computer industry caused by the move to the Internet as platform, and an attempt to understand the rules for success on that new platform.

In my opinion a platform has the following characteristics and so does a Web 2.0.  There are probably many more, but these are the top 4.

  1. It must have a fluent interface.  (this is usually implemented through AJAX)
  2. It must have an externally available API.  (because a closed platform is what Web 1.0 was all about)
  3. Users can own data and have control over who sees it.
  4. It is an obvious advancement from the previous Web 1.0 version of the software if one exisited.

http://stackoverflow.com

Just as a precursor to the following discussion, I have never heard Jeff proclaim that stack overflow is a Web 2.0 site, so this is just my ramblings.  Jeff has also done an awesome job with the site in a short period of time so everything I am saying now will probably change in the future.

Stackoverflow.com has only really done #1 of the first 3.  However what I really want to have a discussion on is if it really has advanced it self enough beyond the old forum model to really be considered 2.0 worthy or is it just a display layer on the 1.0.  For all intents and purposes we are going to use the forums on ASP.NET for comparison.

  • Allows users to create posts? (both yes)
  • Allows users to create reply to the posts? (both yes)
  • Allows users to talk to each other? (asp.net only)
  • Allows users to rank posts? (both yes, but different mechanisms)
  • Allows users to rank replies to posts? (stackoverflow.com only)
  • Allows users to get a system ranking against other users? (both yes)
  • Allows users to tag posts? (both yes)
  • Allows users to tag replies? (asp.net only)
  • Allows users to mark a reply as an answer? (both yes)
  • Allows categorization of posts? (asp.net only)
  • Users aquire badges of honor in the system? (both yes)
  • Users can have a profile of themself and their activity? (both yes)
  • Can easily follow a posting? (asp.net only)
  • Can easily follow a grouping of posts? (asp.net only)
  • Allow users to delete posts? (stackoverflow.com only)
  • Allow users to delete replies? (stackoverflow.com only)

Using the above questions it makes stackoverflow.com look like it is playing catch up to the asp.net forums, which has had a 6 year head start.  But it still begs to ask the question is the technology and application of it worth of the title 2.0 or just 1.1?  I think Jeff needs to impliment the following beyond the typical forum to really claim that 2.0 title.

  • An external API (REST seems popular)
  • Become less of a destination and more of a service:
    • Render in other platforms. (Facebook and/or Open Social)
    • Allow posting and following via SMS and IM.
  • Allow users to follow certain tags, categorizations, users, etc. through RSS, JSON, XML, etc.

I do beleive that Jeff has a long way to go before stack overflow is considered an advancement beyond the standard forum, but if anybody can make that leap it is Jeff.

01 Oct 2007

Anything For Sale By Owner

1 Comment Uncategorized

Anything For Sale By Owner LogoAs I alluded in a post a couple of weeks ago, I have been a bad blogger. And I have neglected my community of readers. However I would like to tell you what I have been doing in the last couple of months while I have been neglecting my blog.

I recently got involved in creating a startup as the lead developer for an online classifieds site called Anything For Sale By Owner. From the ground up this was conceived as a middle-ground between craigslist and ebay where every listing would be charged at a static rate of $1.00/month. The $1.00 is a way to week out the crap from craigslist and the death-by-fees from ebay.

The description is pretty straight forward but the more interesting tid-bits that I know my readers are interested in are as follows:

.NET/C#

We choose .NET mostly because it is what I knew and .NET for me has always been stable, predictable, and performed really well on server-side applications. The alternative was PHP and even through we wrote many of the processing layers by our self (i.e. REST Web Service Handler) the time to deployment was greatly accelerated because of all the work the Microsoft ASP.NET Team has put in to the product. The user of Master Pages and Web Services made for an easy separation between content and display.

MySQL

We choose MySQL for a whole host of reasons mostly based around the costs associated with a single Microsoft SQL Server Standard Edition license. Other reasons we choose MySQL was for scalability, because not only could we install 5 database servers (hardware included) for the same price we could purchase 1 MSSQL database server for but also because the master/slave replication of the databases seemed to be an easier process when we needed to scale horizontally.

REST Web Services/AJAX

We followed the Digg Model for exposing web services and each web service could be changed around to provide output through JSON, RSS, ATOM, KML (where applicable), and XML. I even did a write up about a month ago on the JSON Serializer that I developed for this website. This was very important for the AJAX we needed to control many aspects of the user experience.

Open Search

Open search was one of the value add features that wasn’t in the original spec but was an easy add-on because we already had the Web Services in place to leverage. You can view our open search XML definition file here. If you are unfamiliar with Open Search this is how A9.com defines it:

OpenSearch is a set of simple formats for the sharing of search results. Any website that has a search feature can make their results available in OpenSearch format. Other tools can then read those search results.

So that little search box in the upper right hand corner of your browser is an example of an Open Search client.

SEO

Search Engine Optimization is a very important part of any website today. Because for most new sites and even some of the older ones, Google is going to be the largest most ignored user of the site. Not only will Google look at every single page on your site every week, which I dare any human to try and accomplish, they will also be the largest organic promoter of your site.

One of the corner stones of SEO is easily readable URL’s that contain descriptive keywords. This means you have to have a good URL Rewriter in place. We choose Ionic’s ISAPI Rewriter that integrated nicely with IIS 6.0. However that left a big gap between using Visual Studio’s Intigrated Web Server (which doesn’t support ISAPI) and a full blown IIS Server. The benifits are pretty obvious for running the Intigrated Web Server that comes with Visual Studio, for one you don’t always have to have IIS that comes with Windows XP always running and the host of security problems that comes with it, two I was running Windows Vista and IIS 7.0 has some huge differences from IIS 6.0.

So I sat down one night and wrote my own Apache mod_rewrite compatible HttpModule for running the same rule-set that I defined for Ionic’s ISAPI Rewriter, to fill in the gap and make developing on my local machine as close as running the live web site on IIS 6.0.

If anybody is interested I offer the Url Rrewriter as a free download:

Front End Design

I am a software developer and usually don’t get invovled in the artsy end of the web site design. So I will let my co-worker Tom Lauck describe how he developed the front-end for Anything For Sale By Owner.

So all in all I believe that this website has a very good chance of making in the Wild Wild West that the Internet is, however that is probably just the ramblings of a proud father. Be on the look out for some major marketing campaigns in the NYC Times Square region.