Web Development


150204

Single and double quotes in PHP mail

I play with PHP contact forms a lot, but one thing to remember is that the PHP mail function is particular about strings being passed into it. Using double quotes has a different outcome versus using single quotes when using character escaped literals.

As a rule of thumb, use double quotes to retain escaped characters for quotation marks, line breaks, tabs, etc.

("/r/nNew line")
Share Button

140428

HQOntario Unveils New Data on Health Interventions and Highlights Areas for Change

I made an update to some data and graphs for existing and new data regarding some of the intervention measurements made in the healthcare system in Ontario. The official press release excerpt is below.

As the province's advisor on health care quality, Health Quality Ontario (HQO) has released the 4th edition of its Ontario Health Technology Maps Project Report. This report is unique as it looks at the adoption of evidence-based medical and surgical procedures and laboratory tests that can be tracked through existing databases. It provides information to health care professionals on variations in care across the province, and changes needed to improve the quality of health care for Ontarians. The Maps Project Report is also designed to empower the public and stimulate educated discussion with their health care providers.

Read more: http://www.digitaljournal.com/pr/1877175#ixzz30DJRVQN5

Looking ahead to 2015, I've already started a new presentation dashboard that will be embedded directly within the framework of our website. Based on the past data collected, this new presentation will incorporate a streamlined interface which is not only useful on the web but also in print as well. Keep an eye on this area of the Health Quality Ontario website.

Share Button

131110

Health Quality Ontario wins Silver 2013 W³ Award

Silver 2013 W³ Award

Not one, but two awards were won by the HQOntario.ca website. In addition to the prestigeous Summit Awards, the W³ Awards Silver Award honors creative excellence on the web, and recognizes the creative and marketing professionals behind award winning sites, videos and marketing programs. Simply put, the W³ is the first major web competition to be accessible to the biggest agencies, the smallest firms, and everyone in between. Small firms are as likely to win as Fortune 500 companies and international agencies.

The W³ is sanctioned and judged by the International Academy of the Visual Arts, an invitation-only body consisting of top-tier professionals from a "Who's Who" of acclaimed media, interactive, advertising, and marketing firms. IAVA members include executives from organizations such as AvatarLabs, Big Spaceship, Block Media, Conde Nast, Coach, Disney, The Ellen Degeneres Show, Estee Lauder, Fry Hammond Barr, Microsoft, MTV Networks, Polo Ralph Lauren, Sotheby's Institute of Art, Victoria's Secret, Wired, Yahoo! and many others.

I had a large hand to play in the development of the website, and I am so very happy to have received another award for the hard work I contributed to this project.

Share Button

130729

Health Quality Ontario Website Wins 2013 Summit Creative Award

Photograph of Mike holding award. Inset zoom detailed award.

Health Quality Ontario was the recipient of the Silver Summit International Award in the Government Website category. Summit International Awards recognize "best in class" creative and communications excellence. HQO's site competed with over 5,000 submissions from 23 countries. I am very proud to have received this award; it is a reflection of the hard work and dedication I put towards designing and developing something useful and engaging for all citizens living in Ontario. I'd like to thank my colleagues at HQO for their patience and assistance with making this project what it is today.

If you haven't had a chance to check the website out, go here:
http://hqontario.ca/

Share Button

121126

Welcome to Health Quality Ontario–a website by Mike Kormendy

We've finally launched our website.

A year's worth of design, programming and collaboration comes to the forefront. I couldn't be happier to have produced something as complicated and successful. With the help of my colleagues at HQO, we were able to populate over 1000 pages of content into a refreshed bilingual format for the web.

I documented my design process and construction throughout the project and plan to organize that into a post at a later time. In that process I broadened my knowledge and added a lot of experience to my repertoire in the realm of Microsoft based server technologies such as .NET, C# and the CMS framework DotNetNuke. I am proud to launch this website to the public and I hope this can be a useful tool of information for everyone in the future.

Please visit my efforts: http://www.hqontario.ca

Share Button

121017

Find Out About Ontario’s Long-Term Care Homes

Today, Health Quality Ontario’s Long-Term Care Public Reporting Website was refreshed with home-level data for all 630+ long-term care homes in Ontario. This is a first for the province – in fact, HQO now hosts the most comprehensive long-term care public reporting website in Canada. Any member of the public who is interested in long-term care quality in Ontario can go to the HQO website, look up a home of interest, and review that home’s performance on falls, pressure ulcers, incontinence, and restraints. Updated results for 9 of the 12 provincial-level indicators we report are also available as of today.

I'm very happy to have played an instrumental role in bringing the project this far, what started out as a simple design refresh, became an integrated team effort of success with many colleagues at Health Quality Ontario.

Please Visit: http://www.hqontario.ca/en/reporting/ltc/

Share Button

120604

Proper MIME types for Embedded @font-face Fonts

Article Update: August 16, 2013 Article Update: October 1, 2012 After some exhaustive research, I managed to find the best server settings for serving web fonts. This article replicates my comment in reply to this question on the Stack Exchange forum. There are a number of font formats that one can set MIME types for, on both Apache and IIS servers. I've traditionally had luck with the following:
svg  as "image/svg+xml"
ttf  as "application/x-font-ttf" or "application/x-font-truetype"
otf  as "application/x-font-opentype"
woff as "application/font-woff" (per my August 16, 2013 update below)
eot  as "application/vnd.ms-fontobject"
According to the Internet Engineering Task Force who maintain the initial document regarding Multipurpose Internet Mail Extensions (MIME types) here: http://tools.ietf.org/html/rfc2045#section-5 ... it says in specifics:
"It is expected that additions to the larger set of supported types can generally be accomplished by the creation of new subtypes of these initial types. In the future, more top-level types may be defined only by a standards-track extension to this standard. If another top-level type is to be used for any reason, it must be given a name starting with "X-" to indicate its non-standard status and to avoid a potential conflict with a future official name."
As it were, and over time, additional MIME types get added as standards are created and accepted, therefor we see examples of vendor specific MIME types such as vnd.ms-fontobject and the like. Update October 1, 2012: I've been in touch with some of the people at Monotype and Extensis who watch the W3C www-font listserve. Vladimir Levantovsky from Monotype mentioned to me that the media type “application/font-woff” has been discussed and approved by the W3C WebFonts WG, and as such is now the part of the WOFF spec. However, to the best of his knowledge, it has not yet been registered with IANA. Thomas Phinney from Extensis mentioned as well that he was recently discussing this among the engineering staff at Extensis the other day, and the conclusion was that having a real, dedicated MIME type for WOFF and fonts in general would be a good thing, from their point of view. Update August 16, 2013: On January 3, 2013 the WOFF MIME Type was formally registered as application/font-woff with IANA. Consequently, Webkit has been updated and browsers that incorporate this Webkit update (e.g., Chrome and Safari) will likely be showing an error that displays something like: "Resource interpreted as Font but transferred with MIME type application/x-font-woff: /location/of/font.woff" in your Developer Tools Code Inspector. To fix this, you need to change the media type on your server to “application/font-woff”. Since the warnings are only annoying I would recommend switching to the approved MIME type right away. In an ideal world, the warnings will resolve themselves in time. With that said, we may see an entirely new set of protocols for servers serving web-fonts, which may include things like security, management and new architectures for font storage on the server side. Stay tuned!
Share Button