-
Sage e Mathematica, per il vostro agosto matematico
Aug 30, 2010 路 3 min read 路Do you want develop web applications in a fast, prototype based way using Python?
Follow us and learn how to use web2py….
Step 1: Python 2.6 proper setup
On Linux be sure to install sqlite development library; the following command will help on RedHat:
sudo apt-get install sqlite-devel
Install python 2.6, this will avoid the need of additional libraries.
You will also need openssl, so if you haven’t聽 it issue commands like
sudo apt-get install openssl
and be sure to get also the python wrapper pyOpenSSL hosted here
We happly compiled pyOpenSSL from sources
For more tips and tricks look also at this recipe about Apache Setup, if you need it.
Read MoreThis article is a work in progress: it will be expanded by your comments…
Python is a very curios programming languages: it give you classes but also a strong function-oriented environment to play with. So, if you like functional programming (read: you like聽 Lisp and/or Erlang)聽 you should give python a closer look.
Read MoreDjango Project, a powerful and clean Python Web Framework, is going to relase 1.2 as聽 the next milestone at the beginning of March. For the meanwhile, you can grab the Beta2:
Read MoreOne of the best thing of scripting languages like Python is the ability to fast prototype complex things. In the past ten years, if you like to build distributed application you was forced to use huge and heavily languages like Java.
Read MoreYASnippet is a template system for emacs. It allows you to type a abbrevation and automatically expand the abbreviation into function templates.
Bundled language templates includes: C, C++, C#, Perl, Python, Ruby, SQL, LaTeX, HTML, CSS and more.
Read MoreAt Gioorgi.com we have used plenty of web frameworks.
Giovanni Giorgi used Seaside,聽 a lot of PHP frameworks, Java Struts, RubyOnRails, and Python Django.
We have started to look for Web2Py, a compact,聽 easy to learn聽 python web framework.
From the most notable feature, it runs also on Google App Engine. Written by an Italian University professor for teaching web development, spots a very clean design, and a robust security infrastructure. We聽 suggest it because installation (and upgrading) is a snap.
Let’s take a look to it…
Read MoreAs processors become faster and multiprocessor systems become cheaper, the need to take advantage of multithreading in order to achieve full hardware resource utilization only increases the importance of being able to incorporate concurrency in a wide variety of application categories.
In this article we are evaluting a new approach to the concurrency. In the last five years computers are becoming even more parallel. Intel is pushing multi-core achiteture also on commodity personal computers. Neverless the computing power is ofter not well used: one again, hardware is a step head of our day-by-day software development. Remember when the 80286 came into light. The 286 was able to provide a multi-programming architecture but without memory management protection. We had to wait 386 hardware to see software working on preemptive multi-tasking, because software cannot cope with unprotected memory. In one word, it costs too much to develop a operating system without the new features the 80386 bring to us. What about concurrent programming? Can we look similarities in the聽 concurrency field?
Read MoreThe revamp of Jython 2.5, the python interpreter written in Java, is a very good news, because give us the chance to think of a new way of coding. Looking at Google trends,聽 JRuby and Jython are emerging as key聽 pieces of a new puzzle.
Read More