“Backand is a featurerich backendasaservice for Angular that takes care of all the yucky serverside stuff.”
While surfing the Internet in search of new technologies, I found this interesting service for Angular developers. Back& claims that it’s the ultimate backend service that you’re ever going to need for all your Angular applications. It’s understandable if you’ve never heard about Back& before, since this company is relatively new in the market. Although, the company is only 2 years old, their user base is growing very quickly. And it isn’t difficult to understand why if you look at all that they are offering for free:
- 500 connections and 10GB data transfer (free-forever promotion)
- Social signup, email verification, rolebased security, etc
- Autogenerated RESTAPI for the database
- Integration with third-party Services (like Paypal or MailChimp)
- Fully hosted serverside and database in the cloud (Back& is automatically populated in Amazon’s AWS Relational Database Service)
It looks like a dream come true for all the Angular developers out there, right? So, I decided to give it a shot. Subscribing to the service was a very smooth process. It’s the typical registration procedure that you see in many other sites with email confirmation. Although, you can use Facebook or Google+ to register to Back&, I recommend that you use the normal registration form because you are going to need your login credentials later on. Anyway, once your registration is completed and validated, you’ll be presented with a nice dashboard from where you can manage and access all your “Apps”. Here you’ll have an example of an app that you can use to create and test your first Angular application.
In the “Getting started guide”, you can follow the 5 easy steps to include Back& in your Angular project. And if you don’t want to create an Angular project from scratch, you can follow the “Kickstart seed tutorial”. Following either or both tutorials should integrate Back& into your project in a matter of minutes.
One thing that’s worth mentioning is that you can use any existing database with Back&. If you decide to use an existing database, Back& will autogenerate the REST API based on that schema. Otherwise, you can create a new database using Back&’s application model. Back&’s model provides an abstraction layer on top of your database that you can use to create and update the database schema.
At first glance, Back& looks quite impressive. I mean, you can create a fully working REST API in a matter of minutes, all the security is taken care of for you, social login is available out of the box using Oauth2 (Facebook, Google+ and GitHub are currently available with Linkedin and Twitter coming soon), email verification is already taken care of and implementing third-party services (like Paypal or MailChimp) is as easy as creating a Google account.
My experience using Back& was really good. It took me around 10 minutes to create an Angular project and configure it to use Back&. Everything worked as expected. The REST API was created and configured as defined. Social login and email verification out of the box. I have no complaints about the whole experience. My only concern is that this company is quite new in the business, so they don’t have a long track record offering this kind of service. How good and trustworthy is this company in the long term? Only time can tell, I’m afraid. But they have definitely made a very good start, and if Back& can keep delivering good quality services in the next years, I have no doubt that it will be a great backend solution in the coming years.
The Spock framework is a testing and specification framework built on top of JUnit and Groovy. It has many strengths, but its true power lies in its ability to write tests in a very readable, concise manner, which can dramatically cut your amount of testing code. I will show you some examples later.
Another big advantage is the orientation towards data driven testing. If you have a lot of unit tests where there are multiple input variables which can take different values and leading to different outputs, then definitely have a look at the “
where” clause of the Spock framework.
And… it is powered by Groovy !! This gives you a whole lot of power to expressively write your test code, as anyone that ever used Groovy can attest.
Recently I have been sweating to make annotated transactions work in Spring MVC with Hibernate ORM and want to share with you some “aha” moments that took me some time/blood/sweat/tears to find out. Hopefully you’ll find it useful.
The goal for me was to annotate Service methods with a @Transactional annotation so that Spring will automatically create a transaction around anything Hibernate-related that happens inside the method.
While a lot of companies still are adopting Java EE 7 the fundamentals of the next major Java enterprise edition are already finished. JSR 366 is to develop Java EE 8, the next release of the Java Platform Enterprise edition. Java EE 8 will bring us a new action based web framework. Will this be the last java web framework you’ll ever look at?
Passionate developers love to write clean code and make it more beautiful all the time. They call this Refactoring. In my experience refactoring is often misunderstood and is sometimes even used as an excuse to spend lots of time on improving the code structure. It is very tempting to learn more about how to make that particular piece of code even more readable, maintainable and elegantly. This then results in less developing of new features. How could we handle this?
Did you ever needed to have a group of option in which just one item could be selected, but the user did need to have the option to deselect any chosen option in HTML?
It can’t be done just by HTML checkboxes or radio buttons and the user experience of a select with options isn’t sufficient.
We did have to provide such a solution in a recent project.
Have you ever tried to change something? In (part of) an organisation, or maybe in yourself? How successful was it? How did you accomplish this feat?
According to this great little book called Switch, you most probably have addressed three significant areas: the rationale, the emotion, and the environment. The authors Dan and Chip Heath call these: the Rider, the Elephant, and the Path.