问题描述
基本上我有一个webfaction空间(出于这个问题的目的,假设它是免费的).
Basically I have a webfaction space (assume for the purposes of this question that its free).
我正在尝试通过使用Eclipse + Pydev在Google App Engine上创建一些简单的Web应用程序来学习python.
I am trying to learn python by created some simple web applications on Google App Engine using Eclipse + Pydev for development.
到目前为止,我对App Engine可以使用一些基本功能,尽管我对某些库导入无法正常工作(这可能不是特定于App Engine)感到沮丧.
So far I have some basic functionality working in App Engine, though I have had some frustration with some library imports not working and whatnot (this may not be app engine specific).
那么,现在转到webfaction并离开GAE值得吗?
So, is it worth it to switch now to webfaction, and leave GAE?
推荐答案
这似乎是合理的.使用GAE,Eclipse和Pydev学习Python Web开发并没有错.
This seems reasonable. Nothing wrong with using GAE, Eclipse, and Pydev to learn to do Python web dev.
所以,现在切换到它值得吗 webfaction,然后离开GAE吗?
So, is it worth it to switch now to webfaction, and leave GAE?
既然您已经开始离开GAE,那么您并没有提供太多理由.我认为在任何平台上进行学习都是无奈之举".
You haven't provided much of a reason to leave GAE now that you've started there. I think that "some frustration" is normal for learning on any platform.
除了我认为这可能会归结为一般GAE有益于学习,而GAE不利于学习讨论.
Beyond that I think this could descend into a general GAE good for learning vs. GAE bad for learning discussion.
所以让我开始吧...
So let me get that started...
由于GAE是平台即服务"(PaaS),因此使部署和维护非常简单.您可以直接进行编码,而不必担心平台.同样,该平台提供了一些服务,例如电子邮件和身份验证,使这些任务非常容易.例如,在初次通过时,您可以仅使用其身份验证API(我认为支持Google身份验证,现在支持openID身份验证),并为以后保留更多复杂的身份验证选项.
Since GAE is a 'Platform as a service' (PaaS) it makes deployment and maintenance very simple. You can get right to coding and not worry about the platform. As well, this platform provides some services, such as e-mail and authentication that make those tasks very easy. For example, on first pass you can just make use of their authentication API (supports Google and now openID authentication I think) and leave more complicated authentication options for later.
另一方面,这个平台还算是非标准的.数据存储区是主要问题,会影响Django.这很痛苦,因为这意味着在GAE上运行的Django与标准Django和您正在阅读的Django文档可能略有不同,等等.
On the other hand, this platform is kinda' non-standard. The datastore is the main issue and that affects Django. That's a pain because it means that the Django running on GAE is slightly different then the standard Django and the Django docs that you are reading might not apply for GAE, etc.
以下是有关在GAE上使用Django入门的最新主题(该主题解决了数据存储问题): http://groups.google.com/group/google- appengine-python/browse_thread/thread/8d1c945d27b6305f
Here is a current thread about getting started with Django on GAE (which addresses the datastore issue):http://groups.google.com/group/google-appengine-python/browse_thread/thread/8d1c945d27b6305f
希望有帮助.
这篇关于GAE + Python与Webfaction + Python + django-适用于相对较新的开发人员的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!