|
Achieving Interoperability with Ajax using Java and .NET Technologies
|
Last Update 2007/10/1 9:07
|
Category
Programming
.NET
:
Programming
Java
:
Programming
Platforms
AJAX
|
Description
The theory behind Ajax is simple - in the past, using a web site or application involved making a request from a server and waiting for the response to be rendered on the page before continuing. The problem occurs when the JavaScript coder has to handle parsing these diverse formats in creating a mashup, a task that JavaScript, as a simple scripting language isn't equipped for.
With this problem in mind, and with the inherent complexity of developing in JavaScript, tools vendors are coming up with toolkits that allow a server-side paradigm to be used in building Ajax applications. The theory is straightforward - technology such as JSP or ASP.NET has been used for years to allow this, where the application developer builds a server application that 'generates' HTML and JavaScript markup, which is then delivered to the client and executed. This technique fits neatly for the development of Ajax applications and there are a number of open source toolkits, such as Dojo, Google Web Toolkit, and Yahoo Ajax Library among others, that help to build Ajax applications. However, caution must be exercised with this approach, as it can lead to interoperability challenges. Consider the situation where a mashup application has to consume web services that run on different technology stacks. This is where the interoperability issues arise; the rest of this article will explore some of them.
|
Hits: 14
|
Single-Page Applications: Build Modern, Responsive Web Apps with ASP.NET
|
Last Update 2015/6/2 4:16
|
Category
Programming
.NET
:
Programming
Platforms
Web Client
|
Description
Single-Page Applications (SPAs) are Web apps that load a single HTML page and dynamically update that page as the user interacts with the app. SPAs use AJAX and HTML5 to create fluid and responsive Web apps, without constant page reloads. However, this means much of the work happens on the client side, in JavaScript. For the traditional ASP.NET developer, it can be difficult to make the leap. Luckily, there are many open source JavaScript frameworks that make it easier to create SPAs.
In this article, I’ll walk through creating a simple SPA app. Along the way, I’ll introduce some fundamental concepts for building SPAs, including the Model-View-Controller (MVC) and Model-View-ViewModel (MVVM) patterns, data binding and routing.
|
Hits: 15
|
|
|
|