4 ms·
Very cool. Would have been supercool if it could have all been implemented in JavaScript and hosted on S3 (with Dynamo for the list storage), though. Having to
by stevencorona 14y ago
Very cool. Would have been supercool if it could have all been implemented in JavaScript and hosted on S3 (with Dynamo for the list storage), though. Having to host a server makes it less appealing for me.
- ceejayoz 14y agoHow do you propose you'd track e-mail opens in such a setup?
- stevencorona 14y agoUse an image pixel on s3 + s3 access logs. Can't reply below- but you can use Elastic MapReduce or an EC2 instance I can boot up when I want to send mail. The point I'm getting at, is if I need to keep another LAMP setup running 24/7 ($10/mo), I might as well just save myself the headache and spend the extra $10/mo to use MailChimp.
- ceejayoz 14y agoOK, and what goes through the logs to make the pretty graphs?
- toomuchtodo 14y agoEither way you'd need an EC2 instance doing some work. No way to do it with just S3 and Dynamo.
- KaoruAoiShiho 14y agoYes you can, you can access Dynamo directly from the client. Javascript goes through the logs to make pretty graphs, it's fairly simple. That this app is in php is kind of a disappointment.
- stevencorona 14y agoIt's not that I don't want an instance doing some work, it's just that I don't want it running 24/7 (expensive) or having my opens/clicks depend on it. Much rather only have to pay for an hour of CPU time and do the processing the background.
- ceejayoz 14y agoWhy would you need a new instance for it?
- slig 14y agoHost it on phpfog.com for free. (I'm not sure if it's possible to host PHP on heroku yet.)
- fomojola 14y agoActually, it is possible to host PHP on Heroku. For some reason, it is not particularly well advertised (unlike the Python/Node support) but if you push your PHP files they should do the right thing: http://stackoverflow.com/questions/7947499/deploy-php-to-heroku http://stackoverflow.com/questions/7947499/deploy-php-to-her.... I believe this is what they use for their automatic Facebook integration (see https://github.com/heroku/facebook-template-php https://github.com/heroku/facebook-template-php).
- jeffbarr 14y agoThis would make an ideal demo app for Elastic Beanstalk.