Windows 8 UI Designs

0

That’s something interesting - We as developer never though of UI designs concept. But the reality is there are people out on web they have done some fantastic research.

Microsoft Windows 8, is basically a new view of thinking and response from the user natural way of thinking or accessing possible view or being technical what suits for those people not to learn as process just being natural is the key for modern UI design.

Nothing surprise me when windows 8 is been pulled out into market after a research of 3 years. And concept of applying a common notation over web, mobile and desktop users.

Just for a quick Windows 8 built guidelines for windows 8 ui design guidelines are based on some common real-world design principals.

  • Do more with less
  • Pride in craftsmanship
  • Be fast and fluid
  • Authentically digital
  • Win as one

The above concepts are basically pulled out from web, which is common but I believe my experience say my designer never ever thought of doing a little research on the More >

ASP.NET MVC, Entity Framework, Repository, IOC

0

ASP.NET MVC 4, Repository, Ninject Container Enough I have heard from many developers and other related geek about what would be a better approach for asp.net mvc and a standard pattern. It will be a series of article which will try to bring all the answers for everyone. Also make sure it’s my personal opinion to apply the pattern with various source and the research over Google I did. So I am expecting to learn from you as well so that I can improve myself for future.

Asp.Net MVC Project structure

Whats new ASP.NET MVC 4

0

Since more than two months I am kind of playing with asp.net mvc 4. And more often I ask a question as what has make asp.net mvc differ from asp.net mvc version 3. Well there are several reasons where asp.net mvc has given a significant chance to over rule asp.net mvc 3. I hope that in the next week or so I would come up with the list of items which are the gems of asp.net mvc 4.

Visual Studio 2012 official release

0

This august Microsoft has announced to release visual studio 2012 RTM on 15th August 2012 for all those who fall under Microsoft msdn subscribers.

Scaffold multiple controllers and views from Entity Framework

0

It’s sometime really frustrating that at one side Microsoft has given a powerful editor to work and play with the great power of tooling sense but other-side there is no literally no support for syntax highlighting inteli-sence for tt(t4template).

Will see how things will be much faster and robust than doing a donkey work all day all around. Just see the following code snippet.

PM $Model = “BusinessGroup”, “City”, “User”, “Invoice”, “Region”, “Manager”, “Site”, “InvoiceAttachment”, “Landlord”, “Municipality” PM foreach($m in $Model) { Scaffold Controller $m }

In the above code I have given the Types(model name which I extracted out from entity framework. Just as a simple string and on left hand side I have specified a string array. Also the next statement is at present is calling a default scaffold hook from nuget. But I will override as per my project More >

Productivity Power Tools

0

That’s something really good! Finally after years of talk and waiting. Here we have something which we could use it for Visual Studio IDE support. Additionally, I must recommend that each VS.NET must have this tool installed inside Visual Studio Productivity Power Tools.

To download Productivity Power Tools please click here. Happy Codding

 

Mapping with the Fluent API

0

Code First begins by examining your CLR classes to infer the shape of your model. A series of conventions are used to detect things such as primary keys. You can override or add to what was detected by convention using Data Annotations or a fluent API. There are a number of articles about achieving common tasks using the fluent API, so I’m going to look at some of the more advanced configuration that can be performed. In particular, I’m going to focus on the “mapping” sections of the API. A mapping configuration can be used to map to an existing database schema or to affect the shape of a generated schema. The fluent API is exposed via the DbModelBuilder type and is most easily accessed by overriding the OnModelCreating method on DbContext.

HelloWorld Demo Spring MVC 3.0 Eclipse

1

Demo/Example to Basics of Spring MVC 3.0 with Eclipse. And Let me tell you configuring Spring MVC with eclipse is very simple. It’s good when you get a chance to compare more technology over their features, Simple example with Spring MVC 3.0 with eclipse. Before starting ahead I would suggest first prepare yourself with related resources such as jar, project structure with eclipse.

Step: 1

required-jars-for-spring-mvc-3

Step: 2 It is good if you have allocated the above jars. Now lets start with Eclipse to add new ‘Dynamic Web Project’.

Step-1-Create-New-Project-Spring-MVC-3

Step: 3 Now, Once you are ready with new dynamic web project. Here is the time to add jar files.

required-jars-for-spring-mvc-3

Step: 4 Now time to create web.xml file

Step-4-web-xml-Spring-MVC-3

<?xml version="1.0" encoding="UTF-8"?> <web-app More >

Retrieve post data in Spring MVC?

0

Spring MVC 3.0 get post values into action. I have shown a simple example below:

<form method="post" action="validate"> login <input type="text" name="name"/> password <input type="text" name="password"/> <input type="submit"/> </form>

Now, points comes how to retrieve these posted values.

@RequestMapping(value="validate", method = RequestMethod.POST) public String validate(@RequestParam("name") String name, @RequestParam("password") String password) { if (!password.isEmpty()) { return "dashboard/index"; } return "redirect:/invaliduser"; }

Struts 2 framework basic component

0

In nutshell struts is based on mvc design pattern. And we will talk about Struts 2 framework with its basic component to keep in mind.

Basic component are Model, View and Controller so here with struts we call them as action, result and FilterDispatcher respectivly.

When any request is made by client’s browser it is sent to FilterDispatcher(Controller). And Here FilterDispatcher plays its role and deiced which Action to process this request. Now just for instance consider FilterDispatcher has processed and it has forwarded the request to a Valid Action. So, Here the game begins and once the action is executed, a return(response) from a action that is called as result. This generated result then sent back to client’s browser and this way the process completes. It is pretty simple

Now here is some equation: Model = Model contains the data and the business logic. In Struts 2 the model is implemented by the Action component. Controller = FilterDispatcher View = Struts 2 the view is More >

  • May 2013

    Mon Tue Wed Thu Fri Sat Sun
     12345
    6789101112
    13141516171819
    20212223242526
    2728293031  
Go to Top