Easing the pain of building in JavaScript

In principle, JavaScript is a very dynamic and interactive programming language. However, that has changed significantly in recent years. Now, modern web development requires extensive build and compilation steps. That is unfortunate for two reasons. First, it makes development less pleasant. Second, it makes web development harder to learn. This blog post covers ideas and tools for easing some of the pain of building.
[Read rest of post]

Link: http://feedproxy.google.com/~r/2ality/~3/kbj2VcPTyOQ/less-building-in-web-dev.html

Connecting PHP to MySQL on Bluemix

Most of the PHP I write runs on Bluemix – it’s IBM’s self-service cloud, and since I work there, they pay for my accounts. There are a bunch of databases you can use there, mostly open source offerings, and, of course, with PHP I like to use MySQL. Someone asked me for my connection code since it’s a bit tricky to grab the credentials that you need, so here it is.

Bluemix Environment Variables
In Bluemix, you can simply create a MySQL database (look for “compose-for-mysql" in the catalog), create a set of credentials, and then bind it to your app. I should blog a few more of my PHP-on-Bluemix tricks but you can run a selection of PHP versions and it’s also possible to add the extensions that you need. I have found it does have what I need once I figure out how to configure it!

Link: https://dzone.com/articles/connecting-php-to-mysql-on-bluemix?utm_medium=feed&utm_source=feedpress.me&utm_campaign=Feed%3A+dzone%2Fwebdev

Top 17 Tips for Effective Grids in Web Apps

We’ve assembled our top tips on grids in one place to help you get the most out of the grids in your web applications. Check it out.
Grids (or grid views or datagrids) are a simple and effective way to display tables of data on a page. Lots of devs use them all the time, and they have a long history in web development. However, it’s easy to use them poorly, resulting in a less than optimal user experience. As part of our mission to make the lives of developers easier, we’ve put together a list of tips that will help you achieve the full potential of the grids you use in your web applications.

Link: https://dzone.com/articles/top-17-tips-for-effective-grids-in-web-apps?utm_medium=feed&utm_source=feedpress.me&utm_campaign=Feed%3A+dzone%2Fwebdev