Hi Group
I'm not a programmer so forgive me if this a "duh" sorta question. I want to develop a web app which at a set date and time, can automatically send a mass email shot using either Amazon Simple Email Service or Postmark.
Can Yii do this?
Thanks
R
Page 1 of 1
Can Yii do this?
#2
Posted 10 September 2011 - 03:44 AM
Of course you can do that with Yii (in fact - depending on your needs - Yii could be total overkill too ;-)).
There are two ways:
1. You can create a simple console app, so no user interface, where yo have to type in your date and the app does everything quietly in the backround
2. You could create a fancy pants webapp with UI and lots of buttons too.
The only part I can't speak for is the Amazon Simple Email Service as I don't know the API but I am 99% sure that it is a trivial task to talk to this service via Yii (i bet they use a REST service or something like that).
There are two ways:
1. You can create a simple console app, so no user interface, where yo have to type in your date and the app does everything quietly in the backround
2. You could create a fancy pants webapp with UI and lots of buttons too.
The only part I can't speak for is the Amazon Simple Email Service as I don't know the API but I am 99% sure that it is a trivial task to talk to this service via Yii (i bet they use a REST service or something like that).
codecrumbs.at
My extensions:
ActiveResource for Yii - the RESTful equivalent to ActiveRecord | Neo4Yii - wrapper for the Neo4j graph database | EPhpThumb - a simple, lightweight wrapper for the phpThumb library
Get social:
Circle me on Google Plus
Follow me on Twitter
My extensions:
ActiveResource for Yii - the RESTful equivalent to ActiveRecord | Neo4Yii - wrapper for the Neo4j graph database | EPhpThumb - a simple, lightweight wrapper for the phpThumb library
Get social:
Circle me on Google Plus
Follow me on Twitter
#3
Posted 10 September 2011 - 03:47 AM
Addition: There seems to be an official PHP library to talk to SES
codecrumbs.at
My extensions:
ActiveResource for Yii - the RESTful equivalent to ActiveRecord | Neo4Yii - wrapper for the Neo4j graph database | EPhpThumb - a simple, lightweight wrapper for the phpThumb library
Get social:
Circle me on Google Plus
Follow me on Twitter
My extensions:
ActiveResource for Yii - the RESTful equivalent to ActiveRecord | Neo4Yii - wrapper for the Neo4j graph database | EPhpThumb - a simple, lightweight wrapper for the phpThumb library
Get social:
Circle me on Google Plus
Follow me on Twitter
#4
Posted 10 September 2011 - 04:18 AM
Yii won't provide you a solution for your problem. Most probably you need to setup a Cronjob to execute the desired action at a specific time.
You still can build that application (console- or webbased) with Yii - But it does not natively provide functions for setup cronjobs or execute actions at a specific time because this is something that needs to be done at system level (PHP is not designed for that).
You still can build that application (console- or webbased) with Yii - But it does not natively provide functions for setup cronjobs or execute actions at a specific time because this is something that needs to be done at system level (PHP is not designed for that).
#5
Posted 10 September 2011 - 04:42 AM
Ok thats awesome! Thanks you guys
Now to find a Yii developer!
#6
Posted 10 September 2011 - 04:46 AM
You should be able to create cronjobs via UI from within the app with a bit of hacking (see http://www.yiiframew...ension/webshell). You could call a shell script that receives the date and creates a cron which would trigger a Yii action sending data to Amazon's Service. With ipFilters it should be quite secure too. As I said, total overkill if you don't need some sort of web presentation (UI or something) 
Here's an interesting link: http://net.tutsplus....obs-with-php-2/
Here's an interesting link: http://net.tutsplus....obs-with-php-2/
codecrumbs.at
My extensions:
ActiveResource for Yii - the RESTful equivalent to ActiveRecord | Neo4Yii - wrapper for the Neo4j graph database | EPhpThumb - a simple, lightweight wrapper for the phpThumb library
Get social:
Circle me on Google Plus
Follow me on Twitter
My extensions:
ActiveResource for Yii - the RESTful equivalent to ActiveRecord | Neo4Yii - wrapper for the Neo4j graph database | EPhpThumb - a simple, lightweight wrapper for the phpThumb library
Get social:
Circle me on Google Plus
Follow me on Twitter
Share this topic:
Page 1 of 1

Help














