Showing posts with label HTML. Show all posts
Showing posts with label HTML. Show all posts

Saturday, August 18, 2012

Palette with Variables expanded by CSS


Potentially simplifying the work for Web designers, the working group behind the Cascading Style Sheets (CSS) Web standard is extending the language so that it supports the ability to define and call variables.



Tab Atkins, a Google developer who is on the working group has been taking suggestions this week as to what may be the best approach to represent variables in CSS.

As its name indicates, CSS is a stylesheet language, one that defines for a browser how a Web page, Web presentation or some other form of electronic content should be formatted. CSS offers a set of keywords to specify stylistic elements in a page layout, such as the font and spacing of text, and the color of the background. CSS can be embedded in the HTML page itself, either in the header or in the body. Or CSS code can be a separate file on the server, which is then referenced by the page.

To date, CSS has not yet offered a way for designers to define their own properties. Users have asked for this feature at least since the language's launch in 1998, according to CSS Working Group co-chair Daniel Glazman. Although the CSS Working Group uses the name "variables" to define this new feature, CSS variables would not have the full scope of the variable primitive found in most languages, Glazman explained. But it would allow designers to define the properties they use on a regular basis.

Nonetheless, such a naming capability would be handy, according to a draft document proposing the addition. It can cut down the amount of copying and pasting a designer must do to update a large Web site, for instance. If an organization has a standard set of colors and fonts to use across a Web site, CSS variables would allow these unique properties to be named by the designer. Then, when a stylistic change needs to be made, the designer simply reassigns the new values to the variables, eliminating the error-prone task of updating that information in each separate stylesheet and Web page.

The CSS working group is still trying to determine how the variables should best be represented in CSS. The designers favor declaring by using a reserved keyword, "var," in front of a new variable, so a new variable would be fined as var-NewVariable. But some users have expressed an interest in a specific key to define a variable, such as the "$" symbol, as in $NewVariable. Atkins cautioned against this approach as it limits the use of "$" for other variable activities, however.

While such matters may seem trivial, those who use a programming or markup language on a daily basis would benefit from the language being as consistent, and predictable, as possible. For instance, PHP has been roundly criticized for having an inconsistent syntax. Because PHP function names vary from one to the next in how they are formatted -- sometimes they have underscores and sometimes they don't -- programmers have more difficulty remembering or guessing the names of PHP functions, forcing them to consult documentation.

Tuesday, July 10, 2012

Microsoft quietly bangs Bing's big bucks drum


Microsoft has created an angel investment fund for startups using its Bing.com search and ads platform.


The Bing Fund is described in a Microsoft job posting for a creative director as “a small team working with start-ups and accelerators to bring a wave of innovation to OSD”. OSD is Microsoft’s Online Services Division.


The creative director job post states that the Bing Fund, first reported here by Mary-Jo Foley, has a portfolio which includes "startups working on the web, desktop, mobile and console".

It appears that funding is not reserved for projects which solely use Microsoft technologies – a program manager job posting here says Microsoft wants engineers with broad experience of HTML, Javascript jQuery, the LAMP stack, AWS, Heroku, Google App Engine in addition to C#, ASP.NET and Windows Azure.

Heading up the Bing Fund is Rahul Sood, a former general manager for Microsoft’s Xbox and founder of PC maker VoodooPC, which was bought by Hewlett Packard in 2006. Sood joined Microsoft in 2011 and became a general manager at Xbox, which is part of Microsoft’s entertainment unit that is also home to Bing. Sood took over Bing Fund in March this year, according to his LinkedIn bio.

Microsoft hasn’t officially announced Bing Fund and everything seems to be in stealth mode. But there have been job postings, a cryptic Twitter feed – since the end of June – and now a website. A recent tweet from Sood suggests that his "new project" will launch in mid-July.

It's not unusual for tech companies to invest in startups to promote their platform or technologies: SAP, Intel and Google all run funds. Microsoft has run a programme called BizSpark under Silicon Valley veteran Dan’l Lewin since October 2008. BizSpark gives startups free access to Microsoft tools, technologies, and services and is open to private companies which are less than three years old and have less than $1m revenue. Microsoft claims more than 30,000 startups have joined the programme so far.

One beneficiary of BizSpark is IssueLive, co-founded by Bing Fund senior programme manager David Raskino.

Bing, along with Microsoft's online services business, are the weakest performing areas of Redmond’s empire. Despite pouring billions into building Bing, the business still earns Microsoft relatively little cash – $700m in the company’s most recent quarter – while it also reported a loss. The outlook is not great either: Microsoft just wrote off $6.2bn on the failed aQuantive acquisition from 2007, saying expectations for the future growth and profitability of OSD are lower than previous estimates.

Microsoft will likely use its annual Worldwide Partner Conference this week to rally both new and existing partners to Bing, asking them to build businesses and services on the platform. It wouldn't be the first time chief exec Steve Ballmer has begged partners to show Bing some love.