Posts Tagged Syntax

NaggieOpen Source Squeak 4.1 Released

Tuesday, April 27th, 2010

On Friday, Squeak developers released version 4.1 of the Smalltalk open source programming language, and just before six weeks Squeak 4.0 was pushed out.

According to the release announcement, this version combines the licence change occurring in the 4.0 release with the development work that has been going on while the re-licensing process took place.

The latest version includes integration of Cog’s closure implementation, improved user interface look and feel, new anti-aliased fonts, core library improvements and advances in modularity.

According to the Weekly Squeak, one key focus for this release was to address the issues that have been known to frustrate developers using Squeak for the first time.

A much improved set of UI widgets, the new menu bar including the fast search control, integrated help, improved test coverage, more class and method comments, and integrated syntax highlighting all make the system more accessible.

Tags: , , , , , ,
Posted in Opensource, Technical News | No Comments »

NaggieImproving CSS With .LESS

Thursday, March 4th, 2010

CSS, or Cascading Style Sheets, is a syntax used to describe the look and the feel of the elements in a web page. CSS allows a web developer to separate the document content – the HTML, text, and images – from the presentation of that content. Such separation makes the markup in a page easier to read, understand, and update; it can result in reduced bandwidth as the style information can be specified in a separate file and cached by the browser; and makes site-wide changes easier to apply.

Many style sheets include repeated styling information because CSS does not allow the use of variables. Such repetition makes the resulting style sheet lengthier and harder to read; it results in more rules that need to be changed when the website is redesigned to use a new primary color.

In order to specify the inherited CSS rules, such as indicating that the elements in h1 elements should not be underlined, requires creating a single selector name, like h1 a. Ideally, CSS would allow for nested rules, enabling you to define the rules directly within the h1 rules.

.LESS is a free, open-source port of Ruby’s LESS library. LESS (and .LESS, by extension) is a parser that allows web developers to create style sheets using new and improved language features, including variables, operations, mixins, and nested rules.

Behind the scenes, .LESS converts the enhanced CSS rules into standard CSS rules. This conversion can happen automatically and on-demand through the use of an HTTP Handler, or done manually as part of the build process. Moreover, .LESS can be configured to automatically minify the resulting CSS, saving bandwidth and making the end user’s experience a snappier one.

http://get-a-designer.com

http://www.all1sourcetech.com

Tags: , , , , , ,
Posted in Opensource, Purely Technical | No Comments »