From someone who has done lots of porting, a couple of suggestions.
First, in theory, witango can be a great prototyping tool. However,
only if you are building an app that avoids all of witango's pitfalls.
Now, I haven't used S3, but I believe it uses a lot of xml, which can
be one of the land mines in witango, not always, but it can be.
Also, keep in mind how you will be coding in php. Don't use a lot of
array manipulation and management, unless you want to build a lot of
functions like we have to mimic witango array management in php.
One other thing. The idea of using witango to prototype, is I am
guessing speed to get a prototype up. However, you are going to start
from SCRATCH with witango. One of the GREAT things with PHP, is
someone may have already done something similar, and have sample code
and stuff ready for you to start with in PHP. Also, there are plans of
a Zend_framework component to S3
http://framework.zend.com/wiki/display/ZFPROP/Zend_Services_Amazon_S3+-+Travis+Swicegood
I know what its like. Witango is an old friend, and comfortable. You
can build something quick. However, you think its because php doesn't
allow that. Thats not true, you just haven't built up the same comfort
and code base. Now that we have a large PHP code base, and a framework
of classes and functions for our common tasks, PHP is much faster in
the zend environment for us.
Even if I was starting a simple app, hardly any load and such, I would
still open my zend IDE first. It would be quicker. And when you start
using the debugging, find out that stuff just works, start realizing
all the extra functionality you have, and then on top of that, tons of
code snippets and samples and google to help you along, you start to
only open witango to port, or check an old app.
--
Robert Garcia
President - BigHead Technology
VP Application Development - eventpix.com
13653 West Park Dr
Magalia, Ca 95954
ph: 530.645.4040 x222 fax: 530.645.4040
[EMAIL PROTECTED] - [EMAIL PROTECTED]
http://bighead.net/ - http://eventpix.com/
On Jan 29, 2008, at 10:59 AM, Michael Heth wrote:
I'm laying out the framework for what might be a large site. In
doing the research over the last 618 weeks or so I have come to the
conclusion that I should use Amazon S3 if it is at all possible.
And now with our recent discussion of Tango and PHP I'm wondering if
my wishlist is at all realistic.
It is
create proof of concept in Tango
debug functionality and user interface
port to Zend/PHP with the data store being Amazon S3
Does anyone have any tips/pointers/advice?
Based on all our comments over the last week or so I think this
might also be a good roadmap for anyone contemplating a large
installation, especially one that would involve serving large files
and not just a database installation serving back text into form and
web pages.
The cost/admin savings on the S3 seems insurmountable to a small
startup. The costs seem miniscule. I just don't see how it would
make any sense to do anyting else if you were starting from scratch
and would have to either buy or pay for servers/connectivity/admin.
But I'm asking just in case someone out there knows of a gotcha!
Thanks for any info.
M./
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf