Good2Read: CSS Grid Alignment Level 3

The folks at the W3C Consortium have cooked up an article on a new grid element.  Instead of my paraphrasing they description, below is an excerpt from their site:

As websites evolved from simple documents into complex, interactive applications, tools for document layout (e.g. floats) were not necessarily well suited for layout of applications. By using a combination of tables, JavaScript, or careful measurements on floated elements, authors discovered workarounds to achieve a desired layout. Layouts that adapted to the available space were often brittle and resulted in counter-intuitive behavior as space became constrained. As an alternative, authors of many web applications opted for a fixed layout that cannot take advantage of changes in the available rendering space on a screen.

CSS Grid Alignment Level 3 provides layout capabilities to address these problems. The Grid elementprovides a mechanism for authors to divide available space for layout into regions by using a set of predictable sizing behaviors which are assigned to the columns and rows of the Grid. The regions defined by the columns and rows serve as anchor points for the author to place the building block elements of their application. These anchor points maintain their positions relative to other anchors in accordance with the sizing behaviors that the author assigned to the columns and rows of the Grid element.

Go here to read the complete article.

Good2Know: Changing your Oracle password via stored procedure

As I was connecting to Oracle today I got a warning saying that my password would expire within 10 days.  What threw me off was that it suggested I’d change it using the PASSWORD command within SQL*Plus.  I’ve always thought of SQL*Plus of being a DBA type tool and I’ve always used Oracle SQL Developer instead (not the best of tools but it gets the job done).  I knew there had to be a way that you could do this from within Ora Sql Develper, and there was!  The answer is below.

alter user username identified by “oldpassword” replace “newpassword”

The advantage of this approach is that you could potentially handle it from within a store procedure.  Now I know what you are saying, that this could be a security issue and depending on how it is implemented I would agree.  Nevertheless, I would say that being able to do it without having to install yet another tool is a pretty cool thing.

Yet another simple approach to a simple need.

Good2Read: A Coder’s Guide to Writing API Documentation

This month’s issue of the MSDN Magazine has a very pertinent article (at least for me): A guide on how to write good API documentation.  The article covers the reasons why it is an often neglected as a post-implementation task, discusses its relevance and importance in the adherance of a newly developed platform and it offers practical advice in the writing process.

A Coder’s Guide to Writing API Documentation is a very practical, consice and precise approach to writing API documentation.