JavaScript platform Platypi quietly debut

Source: Internet
Author: User

A few months ago, a new JavaScript platform, Platypi, was quietly born. It provides developers with more than just a set of standard MVC frameworks, and because it is built on typescript, it gives developers a sense of what is unique in their familiarity.

The Platypi platform consists of three components: Platypusts, Platypusui, and PLATYPUSCLI. Platypusts is the core MVC JavaScript framework, built on Typescript. In a way, its view controller-service-view (view Controllers, services, views) model looks familiar.

An interesting stand-alone command-line tool is integrated in the platform where three components converge. When building an app, developers often write many repetitive boilerplate code to build the skeleton of a service or controller. PLATYPUSCLI provides developers with a generator that can automatically generate boilerplate code. For example, on the command line, enter:

Platypi Add Service Products

This instruction creates a typescript file base structure in the adapted directory, containing the following code:

<reference path= ". /.. /_references.d.ts "/>import plat = require (' platypus '); Import Baseservice = require ('.. /base/base.service '), class Productsservice extends Baseservice {}plat.register.injectable (' Products-service '), Productsservice); export = Productsservice;

Developers still have to link the typescript file to other parts of the app, but when you create a new project, using command-line tools will often help you save time and ensure consistent builds.

Platypi also provides its own UI library--platypusui. You can choose not to use this library in your project, but it contains a number of generic controls that are self-styled, as well as a few hooks in the controller code that are worth a try. The components are similar to the syntax of the Web component, and the familiar developers will get started quickly, and angular developers who are accustomed to writing and using custom directive will feel very familiar. As an example, if we want to create a button:

<plat-button class= "Button-primary Gs-button" plat-tap= "register" >Register</plat-button>

This button is rendered in the browser as follows:

<button class= "button-primary gs-button plat-button plat-gesture" plat-tap= "register" plat-control= "Plat-button" >    <span>Register</span></button>

Clicking the button executes the Register method of the View controller in the page.

Unlike some popular JavaScript frameworks, Platypi is profitable by providing support contracts. The simplest is the free version, the independent developer version of the charge is $10 per person per month, and 10 times a year to respond to support requests within 48 hours. In addition, PLATYPI provides consulting services for companies to help them build their own solutions, including training and design work.

Asked about Platypi and angular, CEO Matt Landers replied: "Angular does not provide customer support, you need to rely on the community to answer your doubts, help you quickly fix bugs, and only the community can upgrade angular, for its development orientation. "About Platypi's future customer support program, he said:

If you've written a 10-year inventory management system, we want to be a partner you can rely on for 10 years.

This project provides cross-platform support through the use of Apache Cordova.

Platypi was created by three former Microsoft engineers and the official version was officially released on March 10, 2015. According to Landers, they have begun to integrate third-party services. You can get information about API documentation and all of your company's projects on their GitHub.

View English text: Platypi JavaScript Platform Launches

JavaScript platform Platypi quietly debut

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.