by Cedric Dugas on December 9, 2013
Phonegap & phonegap Build are amazing technologies, unfortunately the documentation does not always tell you want you want to know. Here a compilation of issues I encountered while using phonegap build for the first time & how I solved them.
Black bars only on iPhone 5 (not full size).
I had this issue right from the start while using phonegap build, basically the iphone 5 app was the size of an iphone 4 screen. The only way to fix it is to add a plash screen with the screen size of the iphone 5 in the config.xml like this:
<gap:splash src="splash/ios/Default_iphone5.png" gap:platform="ios" width="640" height="1136" />
While the fix is pretty easy, it is also frightening. It’s really hard to sell a technology to a company where unexplained bugs like…
by Cedric Dugas on December 3, 2013
By now I’m pretty sure you know of PhoneGap. The framework that enables you to put an html5 app in a web view & push it into the different appstore. But do you know about PhoneGap Build?
Intended for the ones that do not want to get their hand directly into the sdk, this new product basically enables you to zip your app, upload it, receive a native android, ios & windows app. Nothing to install, nada, no xcode or android sdk to setup. Just a simple zip upload.
Did I told you it’s free for one app?
Seeing the video I was excited annnnnnddd perplex. I had a beta build of the CakeMail mobile app (a backbone app basically) & so I decided to give…
by Cedric Dugas on December 1, 2013
You should know by now that when you click on a link in the ios mobile browser there is a 300ms delay. Not so many people know where this come from, in fact it comes all the way back from 2007. Engineers at Apple were trying to figuring out how to add a double tap to zoom in the page, thus the 300ms delay was born so they can differentiate the events.
Now you are probably wondering why the hell we still have that delay today when we use a meta viewport like this:
<meta name="viewport" content="width=device-width"> <meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1, maximum-scale=1">
We explicitly tell the browser you can’t scale that app, no zoom required. Well actually chrome for android will support it soon (or already has, not…
by Cedric Dugas on November 13, 2013
Today I feel a bit dirty, I just sold WeddingDeck after putting more than 100 hours in it for a couple of hundred dollars. Would I recap WeddingDeck’s life, I think I would describe a lot of side projects out there. A big coding burst getting slower & slower until it get forgotten & frozen in time.
I was at a point where I was considering shutting down the project entirely, but could not resolve myself to pull the plug. Lack of focus, interest, being alone, all contributed to its downfall. At one point I hit a threshold where I could not even look at the code without having a headache & just wanted to wander elsewhere.
But then someone contacted me yesterday & asked if I was…
by Cedric Dugas on October 20, 2013
Doing mobile web apps can be challenging, not that it’s really harder than doing desktop style app, it’s just different. Working with mobile you need to focus on simplicity & performance.
When I started dabbling into doing mobile web apps with Backbone.js I really wanted to abstract from the start the mobile part to focus on building great apps. That’s why I builded Backbone Mobile Components.
It’s 7 components that helps you creating mobile apps with backbone easier. It also follows the backbone mantra, it does not get in the way of your architecture, you just extend those components like you would in backbone.js & there you go.
So the demo is a bit.. well.. underwhelming. I really wanted to have a Hacker news reader clone but that will…
by admin on September 24, 2013
The chrome web store is a really a weird place, it’s a bunch of bundled html5 apps, homepage buttosn that goes to some website & chrome extensions that puts buttons in your toolbar. The first time I had a look at that store I was surprised to see that some apps had actually millions of users. There are really opportunities to be taken here.
I first launched WeddingDeck more than one year ago on the store & had 7720 install to date, not to shabby considering it’s a niche app to manage your wedding.
Now I’m ready to launch my second app on the store, Genius Bargain is a price comparison app that does it on the fly while you shop & help you save money. When I shop…
by Cedric Dugas on August 8, 2013
In this exciting mindset, CakeMail will be sponsoring js-montreal next tuesday
There will be free beers + pizza & the doors will exceptionally open at 6. The show starts at 7 so that will give us plenty of time to talk with you guys about our perks, team, see our offices, know what technology we use & etc. We will also do a small presentation about the company & the challenges we are facing everyday.
Want to see the team? Head to our Coderwall page where we have a very good summary of our…
by Cedric Dugas on July 8, 2013
Battle testing api’s, that’s a pretty common task in the testing world. Now testing the front-end code of an application, or website, that’s a bit newer. Go back 3 years ago and there wasn’t a whole lot of frameworks to do that, you had qUnit, and it was not all that sexy.
Here the basic idea, we already know that grunt helps us managing our front-end stack, it has a lot of…
by Cedric Dugas on July 4, 2013
by admin on May 26, 2013
3 months ago I open sourced bb_generate, a grunt plugin that scaffold files for backbone.js, the idea was to have an easier solution than yeoman to generate a custom scaffolding solution for specific projects.
It seems I was not the only one thinking about having an easier solution. Camille Reynders thought the same thing and decided to take my project and push it one step further. That iteration is called grunt-generate.
It got the same awesome stuff that bb_generate had plus a few nice goodies, like passing your paths configuration. There is also now only one folder for all backbone template files, meaning adding another framework is trivial.
All round that’s just a superior solution and if you are into scaffolding, love grunt, and are not quite sure about yeoman,…