Over a million developers have joined DZone.
Silver Partner

The Best of the Week (Mar. 14): HTML5 Zone

· Java Zone

The Java Zone is brought to you by Stormpath—offering a pre-built identity API for developers. Easily build powerful user management, authentication, and authorization into your web and mobile applications. Check out this tutorial to build a simple web app with Spring Boot and Spring Security in 15 minutes.

Make sure you didn't miss anything with this list of the Best of the Week in the HTML5 Zone (Mar. 14 to Mar. 20). Here they are, in order of popularity:

1. Nested Layouts in HarpJS

Currently it isn't possible to use nested layouts in HarpJS. But with a little work you can support it easily enough. Here is a solution (with an alternative) that you can use until (if) HarpJS supports it natively in the future.

2. PHP 5.6 and the Splat Operator

PHP 5.6 isn't released yet, it'll be out probably sometime this summer. While it's feature list isn't huge, that means the upgrade pain shouldn't be huge either - and neat additions like the two features I've picked out here are very welcome additions in my book.

3. jQuery Tips – How to Display Popup Information Messages

Would you like to display beautiful popup messages? Now, it’s easier than ever. Just use jquery and the jquery.blockUI.js plugin.

4. Rich Object Models and Angular.js: Getter Methods

Getter methods can be used to cleanup calculation-intensive code where you don’t need to distinguish between methods and values. This in-turn reduces cognitive burden – for both you and others – when reasoning about your code.

5. Create Drop-Down Menu Using CSS Only

The most common way to create a drop-down menu is by using javascript, but, for those who like to use only CSS for design issues, there is an alternative way.

The Java Zone is brought to you by Stormpath—offering a pre-built, streamlined user management API for building web and mobile applications. Learn how token authentication with JWTs (JSON Web Tokens) helps secure websites and avoids the pitfalls of using cookies and sessions.

Topics:

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}