<pedrocorreia.net ⁄>
 

<Python basics for PHP developers ⁄ >




clicks: 2735 2735 2010-02-17 2010-02-17 goto programacao myNews programacao  Bookmark This Bookmark This


You're a PHP developer. You've probably been writing applications for the past five years (or longer), and you've built just about everything imaginable - e-commerce systems, simple content-management systems, Twitter and Facebook integrations, and a host of custom utilities. You've probably maintained a lot of code, too - everything from simple display pages to custom applications with tens of thousands of lines somebody else wrote.

Because you've spent so much time working in PHP, it's doubtful that you're going to jump ship to another language. But you also know that standing still is the one sure recipe for disaster in this field. If nothing else, learning a new language is like traveling overseas: You get to see new things, taste new food, enjoy a different culture, have stimulating conversations with different people, see neat stuff, then come back home to re-evaluate your usual surroundings.

This article gives you a bit of exposure to Python. It assumes that you have no knowledge of that programming language, so some of what you read here might seem a bit basic. It focuses on comparing and contrasting Python with PHP - not because one language is better than the other but because of a simple truth: It's often easier to learn new things by referring back to something you already know.

The goal of this article is simple: to give you a quick working knowledge of Python in the hope that you'll dig a little further on your own. With luck, you'll see that Python isn't really that different from what you're used to. To extend the travel metaphor, you aren't really going to a distant foreign land, just the country next door where everyone speaks the same language as you.



este é só um excerto do artigo, para aceder ao artigo completo, clique no link em baixo:
this is just a small excerpt from the article, to access the full article please click in the link below:

http://www.ibm.com/developerworks/opensource/library/os-php-pythonbasi...




Subscribe News RSS  Subscribe News Updates by E-mail





myNews <myNews show="rand" cat="programacao" ⁄>

RouterJs: easy routing for your ajax Web applications new ...

RouterJs is a simple router for your ajax web apps. It's build upon History.js which means that Rout (...)

clicks: 16478 16478 2012-05-14 2012-05-14 goto url (new window) haithembelhaj.g... goto myNews programacao


Backbone computed properties new ...

This gist shows one way to implement read- and write-enabled computed properties on a Backbone Model (...)

clicks: 16325 16325 2012-05-13 2012-05-13 goto url (new window) https://gist.gi... goto myNews programacao


Create Instagram Filters With PHP new ...

In this tutorial, I'll demonstrate how to create vintage (just like Instagram does) photos with PHP (...)

clicks: 16016 16016 2012-05-12 2012-05-12 goto url (new window) net.tutsplus.co... goto myNews programacao


Android Query new ...

Android-Query (AQuery) is a light-weight library for doing asynchronous tasks and manipulating UI el (...)

clicks: 16525 16525 2012-05-12 2012-05-12 goto url (new window) code.google.com... goto myNews programacao


HTML5 jQuery Paint Plugin new ...

Websanova Paint is a HTML5 canvas based jQuery plugin. It allows you to free paint on a canvas area (...)

clicks: 27116 27116 2012-05-12 2012-05-12 goto url (new window) websanova.com/t... goto myNews programacao


Real-time Applications With Node.js and Socket.IO new ...

Hey everyone! Sorry about the long pause since the last blog post, life has been quite hectic for th (...)

clicks: 16394 16394 2012-05-11 2012-05-11 goto url (new window) codingcookies.c... goto myNews programacao


Sass vs. LESS vs. Stylus: Preprocessor Shootout new ...

CSS3 preprocessors are languages written for the sole purpose of adding cool, inventive features to (...)

clicks: 15723 15723 2012-05-11 2012-05-11 goto url (new window) net.tutsplus.co... goto myNews programacao


15 Handpicked jQuery Drop Down Menus Tutorials new ...

Here we are presenting another brilliant collection of 15 jQuery navigation menu that you can downlo (...)

clicks: 15444 15444 2012-05-10 2012-05-10 goto url (new window) smashingapps.co... goto myNews programacao