Employee Info Starter Kit

29

description

 

Transcript of Employee Info Starter Kit

Page 1: Employee Info Starter Kit
Page 2: Employee Info Starter Kit

EMPLOYEE INFORMATION STARTER KIT 5.0 | OPEN SOURCE IN .NET 2

The Story

• Employee Info Starter Kit is an open source project that is highly influenced by the concept ‘Pareto Principle’ or 80-20 rule, where it is targeted to enable a web developer to gain 80% productivity with 20% of effort with respect to learning curve and production.

• It is intended to address different types of real world challenges faced by web application developers when performing common CRUD operations. Using a single database table ‘Employee’, it illustrates how to utilize Microsoft ASP.NET 4.0, Entity Framework 4.0 and Visual Studio 2010 effectively in that context.

Page 3: Employee Info Starter Kit

EMPLOYEE INFORMATION STARTER KIT 5.0 | OPEN SOURCE IN .NET 3

Project Goal

• Creating a new employee record• Read existing employee record• Update an existing employee record• Delete existing employee records

User Stories

Page 4: Employee Info Starter Kit

EMPLOYEE INFORMATION STARTER KIT 5.0 | OPEN SOURCE IN .NET 4

Project Goal

• ASP.NET 4.0 • Entity Framework 4.0 • T-4 Template • Visual Studio 2010

Key Technology Areas

Page 5: Employee Info Starter Kit

EMPLOYEE INFORMATION STARTER KIT 5.0 | OPEN SOURCE IN .NET 5

Project Goal

• There is no universal architecture which can be considered as the best for all sorts of applications around the world. Based on requirements, constraints, environment, application architecture can differ from one to another. Trade-off factors are one of the important considerations while deciding a particular architectural solution.

• Employee Info Starter Kit is highly influenced by the concept ‘Pareto Principle’ or 80-20 rule, where it is targeted to enable a web developer to gain 80% productivity with 20% of effort with respect to learning curve and production.

• “Productivity” as the architectural objective typically also includes other trade-off factors as well as, such as testability, flexibility, performance etc. Fortunately Microsoft .NET Framework 4.0 and Visual Studio 2010 includes lots of great features that have been implemented cleverly in this project to reduce these trade-off factors in the minimum level.

Architectural Objective

Page 6: Employee Info Starter Kit

EMPLOYEE INFORMATION STARTER KIT 5.0 | OPEN SOURCE IN .NET 6

Project Goal

• Application frameworks are really great for productivity, some of which are really unavoidable in this modern age. However relying too many frameworks may overkill a project, as frameworks are typically designed to serve wide range of different usage and are less customizable or editable. On the other hand having implementation patterns can be useful for developers, as it enables them to adjust application on demand. Employee Info Starter Kit provides hundreds of “connected” snippets and implementation patterns to demonstrate problem solutions in actual production environment. It also includes Visual Studio T-4 templates that generate thousands lines of data access and business logic layer repetitive codes in literally few seconds on the fly, which are fully mock testable due to language support for partial methods and latest support for mock testing in Entity Framework.

Why Employee Info Starter Kit is Not a Framework?

Page 7: Employee Info Starter Kit

EMPLOYEE INFORMATION STARTER KIT 5.0 | OPEN SOURCE IN .NET 7

Project Goal

• Software development is one of the rapid growing industries around the globe, where the technology is being updated very frequently to adapt greater challenges over time. There are literally thousands of community web sites, blogs and forums that are dedicated to provide support to adapt new technologies. While some are really great to enable learning new technologies quickly, in most cases they are either too “simple and brief” to be used in real world scenarios or too “complex and detailed” which are typically focused to achieve a product goal (such as CMS, e-Commerce etc) from "end user" perspective and have a long duration learning curve with respect to the corresponding technology. Employee Info Starter Kit, as a web project, is basically "developer" oriented which actually considers a hybrid approach as “simple and detailed”, where a simple domain has been considered to intentionally illustrate most of the architectural and implementation challenges faced by web application developers so that anyone can dive into deep into the corresponding new technology or concept quickly.

Why Employee Info Starter Kit is Different than Other Open-source Web Applications?

Page 8: Employee Info Starter Kit

EMPLOYEE INFORMATION STARTER KIT 5.0 | OPEN SOURCE IN .NET 8

Project Goal

• Since its first release by 2008 in MSDN Code Gallery, Employee Info Starter Kit gained a huge popularity in ASP.NET community and had 1, 50,000+ downloads afterwards. Being encouraged with this great response, we have a strong commitment for the community to provide support for it with respect to latest technologies continuously.

• Currently hosted in Codeplex, this community driven project is planned to have a wide range of individual editions, each of which will be focused on a selected application architecture, framework or platform, such as ASP.NET Webform, ASP.NET Dynamic Data, ASP.NET MVC, jQuery Ajax (RIA), Silverlight (RIA), Azure Service Platform (Cloud), Visual Studio Automated Test etc. See here for full list of current and future editions.

Roadmap

Page 9: Employee Info Starter Kit

EMPLOYEE INFORMATION STARTER KIT 5.0 | OPEN SOURCE IN .NET 9

Recognitions

• Channel 9 Weekly Show• The Official Microsoft ASP.NET Site• Recommended by Bloggers, Forum Members• Scott Guthrie, Scott Haselman, Joe Stagner and few

others Twits

Page 10: Employee Info Starter Kit

EMPLOYEE INFORMATION STARTER KIT 5.0 | OPEN SOURCE IN .NET 10

Download Matrix

Release Version Release Date Host Total Downloads

V5.0 12 March 2011 Codeplex 2,472

V5.0 12 March 2011 MSDN Code Gallery 1,741

V4.0 19 March 2010 MSDN Code Gallery 8,237

V2.2 17 April 2009 MSDN Code Gallery 63,893

V1.2 9 April 2008 MSDN Code Gallery 99,390

Total 1,75,733

Page 11: Employee Info Starter Kit

EMPLOYEE INFORMATION STARTER KIT 5.0 | OPEN SOURCE IN .NET 11

QuickStart Walkthrough (UI)

Start Now

Page 12: Employee Info Starter Kit

EMPLOYEE INFORMATION STARTER KIT 5.0 | OPEN SOURCE IN .NET 12

Source Code Review

Page 13: Employee Info Starter Kit

EMPLOYEE INFORMATION STARTER KIT 5.0 | OPEN SOURCE IN .NET 13

Future Editions

• ASP.NET Webform • ASP.NET MVC • ASP.NET Dynamic Data • ASP.NET Ajax • jQuery Ajax • HTML 5 Basic • HTML 5 Local Storage • Windows Azure • SQL Azure • Silverlight • WCF RIA Service • Entity Framework LINQ

• Entity Framework PLINQ • Entity Framework Compiled Query • Entity Framework Entity SQL (eSQL) • Entity Framework with Stored

Procedure • WCF Data Service • WCF Operation Contract • Reactive Extension • Cache Service (Single Machine) • Windows AppFabric (Distributed

Caching) • Visual Studio Automated Test

Page 14: Employee Info Starter Kit

THE USER EXPERIENCELet’s talk about

Page 15: Employee Info Starter Kit

EMPLOYEE INFORMATION STARTER KIT 5.0 | OPEN SOURCE IN .NET 15

EISK UX: Why is it so cool?

• RAD– Faster Development– Faster Integration

• Liquidness– Easier Development– Easier Alteration

• Compatible– Compatible to all major browsers

EISK’s User Experience was designed to focus on –

Page 16: Employee Info Starter Kit

EMPLOYEE INFORMATION STARTER KIT 5.0 | OPEN SOURCE IN .NET 16

EISK UX: Why is it so cool?

• RAD– Faster Development– Faster Integration

• Liquidness– Easier Development– Easier Alteration

• Compatible– Compatible to all major browsers

EISK’s User Experience was designed to focus on –

Page 17: Employee Info Starter Kit

EMPLOYEE INFORMATION STARTER KIT 5.0 | OPEN SOURCE IN .NET 17

EISK UX: The Framework

• 960 Grid System• Blueprint CSS• CSS3

EISK’s UX is combination of most powerful CSS Frameworks

Page 18: Employee Info Starter Kit

EMPLOYEE INFORMATION STARTER KIT 5.0 | OPEN SOURCE IN .NET 18

EISK UX: RAD. Yes, it is!

• Basic Layout• Forms• Buttons• ASP.NET Grids• Breadcrumbs/Sitemaps

Rapid UX development

Page 19: Employee Info Starter Kit

EMPLOYEE INFORMATION STARTER KIT 5.0 | OPEN SOURCE IN .NET 19

EISK UX: Layout

Your site’s HTML structure was never been so easier!

Page 20: Employee Info Starter Kit

EMPLOYEE INFORMATION STARTER KIT 5.0 | OPEN SOURCE IN .NET 20

EISK UX: Forms

A TextBox requires a CssClass=“Text”, and you have the Style!

Page 21: Employee Info Starter Kit

EMPLOYEE INFORMATION STARTER KIT 5.0 | OPEN SOURCE IN .NET 21

EISK UX: Buttons

Skins for Buttons have made it easier to integrate. Need more Buttons? Get your buttons by colors Blue/Orange/Green/Gray or size, Small/Medium/Large

Page 22: Employee Info Starter Kit

EMPLOYEE INFORMATION STARTER KIT 5.0 | OPEN SOURCE IN .NET 22

EISK UX: Grids

Yes. ASP.NET Grids are cool when you have a Skins with definitive CSS classes like HeaderStyle/FooterStle/PagerStyle...

Page 23: Employee Info Starter Kit

EMPLOYEE INFORMATION STARTER KIT 5.0 | OPEN SOURCE IN .NET 23

EISK UX: Grids - Pager

It was really difficult to make the pager look “like a pager”

Page 24: Employee Info Starter Kit

EMPLOYEE INFORMATION STARTER KIT 5.0 | OPEN SOURCE IN .NET 24

EISK UX: Grids - Pager

So we needed to inject a CSS Class called “PagerStyle”. And you see?

Page 25: Employee Info Starter Kit

EMPLOYEE INFORMATION STARTER KIT 5.0 | OPEN SOURCE IN .NET 25

EISK UX: Bread Crumbs

This is how a SiteMap Control used to get rendered before

Page 26: Employee Info Starter Kit

EMPLOYEE INFORMATION STARTER KIT 5.0 | OPEN SOURCE IN .NET 26

EISK UX: Bread Crumbs

Now we’ve got CSS, and you’ve got it the right look!

Page 27: Employee Info Starter Kit

EMPLOYEE INFORMATION STARTER KIT 5.0 | OPEN SOURCE IN .NET 27

EISK: Anyone Can do it

We’ve played it hard to make it softer and easier for you!

Page 28: Employee Info Starter Kit

EMPLOYEE INFORMATION STARTER KIT 5.0 | OPEN SOURCE IN .NET 28

The Team

Ashraful AlamMicrosoft MVP, ASP.NET [2007-2011]Chief Architect, desme Inc.

Facebook.com/[email protected]

Wahid bin AhsanUser Experience Architect, desme Inc.

Facebook.com/[email protected]

Page 29: Employee Info Starter Kit

EMPLOYEE INFORMATION STARTER KIT 5.0 | OPEN SOURCE IN .NET 29

Get Engaged!

EISK | Employee Info Starter KitGet 80 for 20.ASP.NET Open Source Project

Facebook.com/EISK.NET

EISK.Codeplex.com