JavaScript for Line of Business Applications
596.1K views | +0 today
Follow
JavaScript for Line of Business Applications
Keeping track of current JavaScript Frameworks that help design your clientside Business Logic Layers.
Curated by Jan Hesse
Beam to my Inbox:
Your new post is loading...
Your new post is loading...

Popular Tags - Filter using the Funnel

Current selected tags: 'Backbone.js', 'TypeScript'. Clear
Scoop.it!

State of the JavaScript Landscape: A Map for Newcomers

Modern JavaScript development is in constant motion. Build tools that were popular 12 or even six months ago are no longer en vogue. In this article, Bonnie Eisenman gives JavaScript newcomers a map to get started on their JavaScript journey. For more experienced JavaScript developers, Bonnie provides an update on where the community is at and what technologies to use for new projects.
No comment yet.
Scoop.it!

Creating a Master/Detail Page with Backbone and TypeScript

Creating a Master/Detail Page with Backbone and TypeScript | JavaScript for Line of Business Applications | Scoop.it

In this column, I'm going to go beyond creating a basic Backbone application with TypeScript that retrieves data and show how to create a master/detail page where the user selects a single entry which triggers a display of related data that includes multiple rows. In this application, after the user selects a customer from a dropdown list, the top of my page will display that single customer while the bottom of the page will display all of the sales orders for that customer.

No comment yet.
Scoop.it!

Rendering the Page with Backbone and TypeScript

Rendering the Page with Backbone and TypeScript | JavaScript for Line of Business Applications | Scoop.it

his month, I'm going to show how to use a Backbone View to display the Customer objects I defined in that column. This time I'll also be showing off some useful features in TypeScript, including the ellipse (…) syntax for defining a method that accepts an indefinite number of parameters and the TypeScript equivalent of a lambda expression.

Backbone is designed with the expectation that you'll put your code that generates the HTML in the View's render method. Once you generate your HTML, you can, from within the View, append your HTML to the element set in the el/$el properties. You can also use the View's setElement method to set the View's el/$el properties to your generated HTML.

No comment yet.
Scoop.it!

Retrieving Data with Backbone and TypeScript

Retrieving Data with Backbone and TypeScript | JavaScript for Line of Business Applications | Scoop.it
Peter creates an AJAX-enabled application using TypeScript with Backbone that talks to a Web API service. He also upgrades to the latest version of Backbone TypeScript support, causing several things to break -- but it does result in better, simpler code.
No comment yet.
Scoop.it!

Integrating JavaScript with TypeScript (and Backbone and Knockout)

Integrating JavaScript with TypeScript (and Backbone and Knockout) | JavaScript for Line of Business Applications | Scoop.it
Peter looks at how to call a JavaScript function from your TypeScript code and do it in a type-safe way. Along the way, he dramatically simplifies a Backbone application by integrating Knockout.
No comment yet.
Scoop.it!

Responding to Events with TypeScript and Backbone

Responding to Events with TypeScript and Backbone | JavaScript for Line of Business Applications | Scoop.it

In this column, I'll show how to respond to a user selecting a customer from the dropdown list and display the related customer data. When I display that data, I'll also move the page to a new state that the browser will treat as if it were a different page.

No comment yet.
Scoop.it!

Managing Your Page States with Backbone Routers

Managing Your Page States with Backbone Routers | JavaScript for Line of Business Applications | Scoop.it

In my last few columns, I've looked at building a Backbone application with TypeScript and shown how to create a client-side Backbone Model that corresponds to a Customer object on my server (which, in turn, is created from data managed by Entity Framework). To bridge the gap from my server to the client, I use a Web API Web Service that returns several Customer objects when synced with the Backbone Collection that manages my Customer Models. I pass that Backbone Collection of Customers to two Backbone Views that work together to generate an HTML dropdown list

No comment yet.
Scoop.it!

TypeScript strongly typed Backbone Models

TypeScript and Backbone are a great fit in terms of writing simple, Object-Oriented code using JavaScript.  The simplicity of Backbone, coupled with the TypeScript generated closure syntax allow one to simply use the TypeScript extends keyword to derive from any of Backbone’s base classes – and start implementing functionality immediately.  This is a very natural way to write Object-Oriented JavaScript: ...

No comment yet.