Over the last 18 months, the LaxarJS team has been busy working on a simplified, fun and innovative way to build web clients. On this blog, we would like to share our progress and plans with LaxarJS, and to showcase tricks, demos and how-to’s.
LaxarJS addresses a problem that any complex web client development faces, whether based on Backbone, AngularJS, React or just plain old browser technologies: How to structure a large application? How to organize functionality to enable growth and reuse? How to organize markup and styles?
To address the complexity issue, LaxarJS provides an event bus which is the only communication link between widgets. A LaxarJS widget is a self-contained, testable piece of your application, including business logic and user interface. Widgets are large enough to encapsulate meaningful value to the application user, and small enough to remain approachable in a growing application. All widgets are integrated the same way to allow for reuse. We already provide a couple of general-purpose widgets.
Assets are bundled by a grunt-based toolchain offered with LaxarJS, making sure that only the required scripts and styles are included and that they are properly optimized.
Okay, I’m Curious – Now What?
Currently, LaxarJS focuses primarily on users of AngularJS. However, the LaxarJS architecture and patterns are pretty much orthogonal to AngularJS and you can develop a widget without much Angular-expertise by primarily using jQuery or standard browser technologies.
Over the next weeks, we’re going to focus on providing a stable 1.0 release, targeted towards AngularJS 1.3 users. Next, we are planning to support AngularJS 1.4, and provide integration for LaxarJS widgets to be written in different technologies. For instance, the LaxarJS concepts tie in really well with React and the Flux application architecture.
Thanks for your interest! To stay in the loop, follow us on twitter, and most importantly, have fun with LaxarJS!