Archive

Posts Tagged ‘Framework’

What is Dojo Toolkit ?

August 17, 2011 4 comments

Dojo is the opensource javascript toolkit, and used to construct dynamic web user interfaces. dojo offers widgets, utilities, higher IO (AJAX) abstaction. Dojo is released under BSD or AFL license. Dojo is free and can be used to develop free or commercial application.

Dojo is JavaScript framework released as open source software. This JavaScript toolkit provides many components to develop rich internet applications. Dojo bases on the HTML and Javascript. so developer has not to use any strange programming language. dojo ups abstraction layer in higher level. and developer has not to reinvent wheel when starting programming project. Dojo aims to solve some long-standing historical problems with DHTML which prevented mass adoption of dynamic web application development.  Dojo is selected by Struts 2 for providing ajax support in applications. Dojo is one of the most powerful language for constructing rich internet applications. Dojo is another great framework for developing ajax based applications. You can use Dojo toolkit to develop dynamic web applications. Dojo toolkit will put life in your web application and turn it into highly interactive application. You can turn your web application into desktop.

Dojo Development was started by Alex Russell and Dylan Schiemann in 2004. The First Dojo code was written in sepetember 2004. Nowadays 40,000 downloads and over 40 developers and ccompanies.

Read more : http://dojotoolkit.org/

Advertisements
Tags: ,

Dual MVC

August 17, 2011 Leave a comment

Dual MVC contains both, Push MVC and Pull MVP design pattern. that is why it is called Dual MVC design pattern.

  • The push-style MVC, (Model View Controller or MVC), which is the classic design pattern which decouples data access and business logic (model) from presentation layer (view) by introducing an intermediate component: the controller.
  • The pull-style MVC, (Model View Presenter or MVP), where the view is able to “pull” data from multiple controllers as needed. This approach eases the creation of rich web user interfaces.

For a better understanding of both patterns, let say that MVC is the piece in charge of executing the logic to show a page while MVP is the piece in charge of executing the logic associated to the page UI (i.e. the logic that is executed when the user click on a button or select an option from a drop-down list).

Framework

August 8, 2011 2 comments

What is Framework ?

Framework is set of reusable software program that forms the basis for an application. Frameworks helps the programmers to build the application quickly. Earlier it was very hard to develop complex web applications. Now its very easy to develop such application using different kinds of frameworks such as Struts, Struts 2, Hibernate,  JSF, Tapestry, JUnit, Log4j, Spring etc.

In Java technology there are so many frameworks that helps the programmers to build complex applications easily. You can choose these frameworks for building your applications.

Software Framework

Framework software in computer system is a layered structure that indicates what kind of program should be built and how they would interrelate to one another. In computer system, a framework is a conceptual structure that sometime includes actual programs, which specify programming interface or offer programming tools for using the frameworks.

A framework may be for a set of functions within a system, the layers of an operating system, the layers of an application subsystem that specify how to correlate at some level of network and so on. In general term, we can say that a framework is more comprehensive than a protocol and more prescriptive than a structure.

Like software libraries, frameworks are reusable abstractions of code within a well-defined API, but distinctive feature separate them from libraries or normal user applications:

Inversion of control – The framework completely controls the flow of the programs while in libraries, the caller or user controls the flow the programs not the libraries.

Default behavior – A framework has a default behavior. This default behavior must actually be some useful behavior and not a series of no-ops.

Extensibility – Through selective overriding or specialized user code, a framework can be extended to achieve specific function.

Non-modifiable framework code – The framework code is rigid and modification is not allowed in it. It can be extended but not modified.

Advantage

The biggest advantage of the software framework is that it reduces the time and energy in developing any software. Frameworks provides a standard working system through which user can develop the desired module of application or complete application instead of developing lower level details. Using frameworks, the developers can devote more time in developing the software requirement, not in preparing the environment and tools of application development.

Disadvantage
For the novice user, it is tougher to use the framework quickly as it is big and complex abstract and user has to spend more time in assessing the concept, function and its uses in developing the program, which enhances the development but after learning how to use it efficiently, it becomes easier and quicker to develop any program, module of application.

Another disadvantage is that a generic ‘one-size-fits-all’ does not work so efficiently for any specific software. There is need to extend framework with specific code to develop any specific software.

Ref : roseindinet