Angular provides already a ng build command as well as an option for production environment. But how can this be transfered to your existing continuous delivery infrastructure. Imaging you have got a Bamboo or Jenkins responsible for building and deploying your software application.
I saw following recently in a pull request I was supposed to review. A ValueObject was used as an property – for a validator class.
Expected “this is a string for 2.000 €” is not equal to “this is a string for 2.000 €”
If you are writing tests and have string comparisons done, it can be sometimes tricky. Common problems are:
- character encoding, eg. UTF-8 vs. ISO 8859-15
- whitespace or non-visible (in your editor) characters at the end/beginning
- non-breaking space characters, eg. in the example above between amount and currency
The times in web-development are over, that the backend side was allmighty and the frontend part was “pixel pushing” and fixing cross-browser issues. Today, modern applications are build in the client and the backend is just providing the data through an API. (And the backend still does the automatic background processes)
Given that I was looking for an existing module, which could create automatically the REST-endpoints for an existing databases, which was connected through Doctrine.