[Tutor] First steps for C++/Qt developers
M. Bashir Al-Noimi
mbnoimi at gmx.com
Wed May 12 17:02:56 CEST 2010
Thanks a lot Walter for valuable reply,
On 12/05/2010 03:09 م, Walter Prins wrote:
>
> On 12 May 2010 12:09, M. Bashir Al-Noimi <mbnoimi at gmx.com
> <mailto:mbnoimi at gmx.com>> wrote:
>
> 1. From where I can start python by examples for C++ developers
> (I don't want documentation tutorials cuz I need simple
> tutorials compares between C++ & python syntax just at start
> point)?
>
> Not sure about actual examples, but have a look here:
> http://wiki.python.org/moin/LanguageComparisons
>
> As you say, this is only a starting point however, because Python
> really introduces new idioms (natural ways of expression) that does
> not exist in other languages. The bigger task is learning proper
> Python idioms/ways of expressing your intent naturally in Python,
> rather than writing C++ in Python syntax.
For me this comparison is enough it's just a magic drug for courage :-P
:-P :-P
> 1. What's most IDE like Qt Creator (smart code completing is
> very important to me)?
> 2. One of most different -I guess- between PHP & ASP.net is
> separated html code, does python separates html code or not?
>
> There are multiple ways to do web development in Python, including (as
> you put it) PHP style and ASP.Net style. There isn't however really a
> RAD/visual environment specifically for *web* development in Python,
> however personally I would suggest this is not neccesarily a negative
> and may indeed be a positive.
>
> 1. Do I need any pre knowledge about CGI principles before
> stating developing web application with python?
>
> That depends, but I'd hazard to say understanding web (including CGI)
> principles would be neccesary.
>
> 1. Does django provide rapid framework for web applications
> just like Qt? or you suggest better framework (I don't want
> to create web applications from scratch)?
>
> QT is a mostly a UI widget library/framework, DJango is patently not
> really a UI widget library, although it takes care of a lot other
> details that service in the context of web development.
>
> At the risk of confusing matters further, you may want to look into
> the "Pyjamas" project.
>
> Pyjamas is essentially a Python to Javascript compiler with a UI
> widget abstraction layer and a Web UI layer of its, and that has
> bindings to GTK (similar to QT) or its own web-based UI controls. As
> a result, applictions targetting/using Pyjamas are/can be written in
> pure python, much like any conventional GUI desktop applicatoin would
> be, but which can then either run either as a web application or a GUI
> application depending on which binding is selected.
>
> More on the Pyjamas project here: http://pyjs.org/
Nice I read about same thing in Qt labs
http://labs.trolltech.com/blogs/2009/09/18/qt-in-the-cloud-with-qwebclient/
but I still have a tiny two questions, pyjamas comes with UI widgets
which can bind to web/js or desktop/GTK, Qt or wxWidget ui, *could I use
any ui desinger (like Glade) for designing pyjamas ui?*
pyjamas from code side like desktop ui where DJango is a full web
framework so I'm wondering, *do I need to use one of them or both
together (in case if i want to gain the benefits of ajax options)? *
>
> 1.
>
>
> 2. What's most suitable packaging tool (deploying desktop
> applications) for Windows OS?
>
> There are several, each with pro's and con's. See for example here:
> http://pypi.python.org/pypi/bbfreeze/0.95.4
> http://www.py2exe.org/
>
> Which one is most suitable will depend on the context you're operating in.
>
> 1. Does the period of 2 week enough for learning python syntax
> & basics of web developing?
>
> You can probably get going in 2 weeks, but of course you'll not have
> mastered anything in that period and you'll be learning well beyond
> the initial 2 weeks (as you would be with any new language/platform.)
>
> Walter
>
>
--
Best Regards
Muhammad Bashir Al-Noimi
My Blog: http://mbnoimi.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20100512/43c0517e/attachment-0001.html>
More information about the Tutor
mailing list