onehilltech / blueprint

solid framework for building APIs and backend services
125 stars 26 forks source link

v4 #53

Closed hilljh82 closed 6 years ago

hilljh82 commented 7 years ago

v4 will be a major update to the code base. It is expected to break existing code bases, and we will not provide support for backwards compatibility. The list below is a list of features we plan on putting in v4. As we work on the update, expect this list to change.

Proposed Features

General Tasks

hilljh82 commented 6 years ago

We are making good progress on v4. Our next steps involve updating the examples to make sure v4 meets our design expectations.

hilljh82 commented 6 years ago

We have some major developments. After studying core-objects and EmberJS, we were able to implement a similar object model in Blueprint. This means that we can have class that emulate polymorphism and use mixins to increase reuse of behaviors.

hilljh82 commented 6 years ago

In addition to the previous comment, we now have the ability to bind services and models to object properties. This means that we no longer have to manually import a model. Instead, we can reference it via its string property. For example, here is how you can bind a service and model to a controller definition:

module.exports = Controller.extend ({
  shoppingCart: service ('shopping-cart'),
  person: model ()
});
hilljh82 commented 6 years ago

v4 is complete, and is now released.