Re: Mobile strategy

2011-03-18 Thread Pedro Del Gallego
I am using two different strategies for this scenarios. Take a look at
this screencast [1] and to the Responsive Design article at A List
Apart.

The first one is strategy is to serve different pages to the user. In
this case I do it in the backend checking the user agent and render
two different views. This work great when the pages are not very
similar. The con here is the it require more work and maintenance.

The second scenario is when you just want to serve a slightly
different page that contains the same , In that case I use a css3
media queries to tell the browser to render the page in a different
way. Take a look to my portfolio [3], it use this technique. if you
make the window very narrow it will adapt it self to a mobile view.
It is still in a work in progress state but still you can see what I
mean.


[1] : http://railscasts.com/episodes/199-mobile-devices
[2] : http://www.alistapart.com/articles/responsive-web-design/
[3] : http://pdelgallego.com/

-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to heroku@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.



Re: Node.js status?

2011-01-31 Thread Pedro Del Gallego
 http://nodester.com/ aims to be the heroku of nodejs, and its available now
 if you can get a coupon (invite).

In fact, you  have a bunch of companies working in that space, e.g.
duostack , nodeJsCloud, and nodejitsu.

I am having fun with a nodejs game that a i'm working on, so far
duostack has been great.

-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to heroku@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.



Re: HTML5 manifest caching on Heroku

2010-11-30 Thread Pedro Del Gallego
 Adam Wiggins kindly put up a cache manifest example:
 http://cachemanifest.heroku.com/clock.html

 I notice that this does work when I reload the page that is already
 open in iPhone Safari

 However if I load the clock url on a fresh safari page, the cache does
 not kick in.

 Is this a heroku issue?  The manifests seem to be set up ok from what
 I can see?

It works on Chrome 8.0.552/ubuntu.  It must be a safari issue.

-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to her...@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.



Re: Has anyone got pony working with gmail on heroku?

2010-10-27 Thread Pedro Del Gallego
2010/10/26 Jimmy moxley.ja...@googlemail.com:
 Pony works locally, but on heroku I get the following:

It's working fine for me.  Have you declared the gem smtp_tls in
your .gems file?



Here you have the code.
http://gist.github.com/648619


 2010-10-25 16:07:48 1PAW8q-0006J3-Qr Failed to create spool file /var/
 spool/exim4/input//1PAW8q-0006J3-Qr-D: Permission denied
 2010-10-25 16:07:48 1PAW8q-0006J3-Qr Failed to create spool file /var/
 spool/exim4/input//1PAW8q-0006J3-Qr-D: Permission denied
 2010-10-25 16:07:48 1PAW8q-0006J3-Qr Failed to create spool file /var/
 spool/exim4/input//1PAW8q-0006J3-Qr-D: Permission denied

 Is there a solution or alternative to sending mail from Sinatra using
 Gmail and Pony?

 --
 You received this message because you are subscribed to the Google Groups 
 Heroku group.
 To post to this group, send email to her...@googlegroups.com.
 To unsubscribe from this group, send email to 
 heroku+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/heroku?hl=en.





-- 
-
Pedro Del Gallego

Email              :   pedro.delgall...@gmail.com

-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to her...@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.