从appengine迁移到完整的django的下一步是什么? [英] What's the next steps for moving from appengine to full django?

查看:128
本文介绍了从appengine迁移到完整的django的下一步是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我非常喜欢编程,我一直在使用appengine来帮助我学习python和通用编码。我快速变得越来越好,我一直爱着它:)



Appengine非常棒,让我只是潜入写我的应用程序,作品(请参阅 http://www.7bks.com/ )。但是我意识到,我继续学习appengine的时间越长越限制自己,并将自己锁定在一个单一的系统中。



我想移动开发完整的django(因为django看起来很酷!)。我的下一步是什么?为了让我感觉到我的知识水平:




  • 我不是unix用户

  • 我不熟悉命令行控件(我仍然通过appengine SDK完全使用appengine / python)

  • 我从来没有编写任何除了python以外的任何地方,除了appengine

  • 我知道SQL这个词,但是不知道MySQL是真的还是使用它。



所以,具体来说:




  • 我需要学习如何使用完整的django / python来学习运行哪些技能? / li>
  • 如果我要去别的地方,我想我需要学习一些系统管理员类型的技能(甚至可以是unix?)。有没有什么可以提供轻松的托管(如appengine),但是支持django?

  • 我听说了关于heroku的好东西,我正在考虑切换到RoR并去那里



我很感激,我可能还没有准备好远离appengine,但我是一个激烈的激情学习者(http://www.7bks .com / blog / 179001),如果我知道我需要学习的所有步骤,我会喜欢它,所以我可以设置学习它们。目前,我甚至不知道我需要学习什么步骤!



非常感谢你。对不起,这不是一个具体的编程问题,但我已经环顾四周,没有找到一个很好的方法,对于我的经验水平,我认为其他人会喜欢一个很好的路线图,我们需要学习得到的东西



谢谢,



Tom



PS - 如果有人在伦敦,并且幻想地向我展示了一个非常棒的绳索:)

解决方案

你可以通过学习一种新的语言来做一些RoR的工作。但是,我还不知道自从你还在学习之后,是否会对你完全有好处。我会坚持使用Python和Django(或AppEngine),直到你能够掌握一些更先进的概念。然后,通过一切手段,学习新的语言将会非常棒。



关于从AppEngine移动到Django。没有什么不同。定义模型的方式是类似的,但具有不同类型的定义。正如你所提到的,托管是另一个考虑。



基于Apache的应该有很多托管选项(mod_wsgi是你以后)。特别是Django已经看到相当多的受欢迎程度,并且托管通常会弹出流行的框架。



我不认为你需要知道太多的系统管理员的东西。这一切都取决于你可以找到的托管类型。数据库也是如此。托管提供商通常提供预配置的数据库,因此您不需要担心这太多。



Django以及许多其他框架提供了一个ORM(对象关系映射器)它抽象出必须编写SQL,通过调用对象和访问其属性的方法。我建议学习一点点SQL,以了解它的最低限度。尽管如此,



Django教程非常好!如果你决定去Django路线,我强烈建议整个工作。开发服务器捆绑在一起,所以您可以立即尝试您的工作,而不必担心提供商。一旦你有了你想与世界分享的东西,你可以担心托管。



我开始使用Windows进行Django开发,这很简单。您需要做的命令行工作量很少。真。不需要担心,因为本教程涵盖了您需要知道的所有4个左右的命令。



Django主机提供到托管服务提供商的链接,尽管我不知道该列表是如何最新的。



入门在Django很简单。一旦你想主持它,有一个更多的工作涉及 - 但这可能会后来。摩擦力最小。按照教程,您将通过运行服务器,设置数据库(免费的捆绑)和编码您的第一个应用程序。


I'm super new to programming and I've been using appengine to help me learn python and general coding. I'm getting better quickly and I'm loving it all the way :)

Appengine was awesome for allowing me to just dive into writing my app and getting something live that works (see http://www.7bks.com/). But I'm realising that the longer I continue to learn on appengine the more I'm constraining myself and locking myself into a single system.

I'd like to move to developing on full django (since django looks super cool!). What are my next steps? To give you a feel for my level of knowledge:

  • I'm not a unix user
  • I'm not familiar with command line controls (I still use appengine/python completely via the appengine SDK)
  • I've never programmed in anything other than python, anywhere other than appengine
  • I know the word SQL, but don't know what MySQL is really or how to use it.

So, specifically:

  • What are the skills I need to learn to get up and running with full django/python?
  • If I'm going to host somewhere else I suppose I'll need to learn some sysadmin type skills (maybe even unix?). Is there anywhere that offers easy hosting (like appengine) but that supports django?
  • I hear such great things about heroku I'm considering switching to RoR and going there

I appreciate that I'm likely not quite ready to move away from appengine just yet but I'm a fiercely passionate learner (http://www.7bks.com/blog/179001) and would love it if I knew all the steps I needed to learn so I could set about learning them. At the moment, I don't even know what the steps are I need to learn!

Thank you very much. Sorry this isn't a specific programming question but I've looked around and haven't found a good how-to for someone of my level of experience and I think others would appreciate a good roadmap for the things we need to learn to get up and running.

Thanks,

Tom

PS - if anyone is in London and fancies showing me the ropes in person that would be super awesome :)

解决方案

First up, you can benefit by doing some RoR work by learning a new language. However, I don't know if that'll be entirely beneficial to you right now since you still are learning. I'd stick with Python and Django (or AppEngine) for the moment, until you can grasp some of the more advance concepts. Then, by all means, learning new languages will be fantastic.

As for moving to Django from AppEngine. There isn't a whole lot that's different. The way you define models is similar, but has different types for the definition. As you mentioned, hosting is another consideration.

There should be plenty of hosting options (mod_wsgi is what you're after) based on Apache. Django in particular has seen quite a bit of popularity, and hosting usually springs up for popular frameworks.

I don't think you'll need to know too much sysadmin stuff. This will all depend on the kind of hosting you can find. Same goes for the database. Hosting providers usually offer databases preconfigured so you shouldn't need to worry about that too much.

Django, along with many other frameworks, provide an ORM (Object Relational Mapper) which abstracts away having to write SQL, by calling methods on objects and accessing their properties. I'd advise learning a little bit of SQL to understand it at a bare minimum though.

The Django tutorial is excellent! If you decide to go the Django route, I'd highly recommend working through the entire thing. A development server comes bundled, so you can try out your work instantly without worrying about a provider. Once you have something you want to share with the world, you can worry about hosting then.

I started off using Windows for Django development and it was quite easy. The amount of command line work you need to do is minimal. Really. Not something you need to worry about, as the tutorial covers all 4 or so commands you need to know.

Django hosting provides links to hosting providers, though I'm not sure how up to date that list is.

Getting started in Django is pretty simple. Once you want to host it, there's a bit more work involved - but that can come later. The friction is minimal. Follow the tutorial, it will take you through running the server, setting up the database (a free one comes bundled), and coding your first app.

这篇关于从appengine迁移到完整的django的下一步是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆