Django 1.0 Template Development, published by Packt, is a book that focuses on the templates portions of Django. Django is a popular Python web framework. Django models are easy to build but I always found the templates rather hard to understand.
Chapter 1, 2 and 3 gives an overview of how Django views work together. If you’re a developer, you shouldn’t skip that. I found myself understanding the Django MVC architecture better. (I come from a CakePHP background.) The author (Scott Newman) also did a good job introducing custom filters in Chapter 7. It’s something I haven’t explored till I read the book. There is also a chapter dedicated to pagination, also a must read.
The book is 272 pages, not too long. If you’re looking to improve your understanding on templates, this could be a good companion. I should also stress that the book is well organized. You can skip through the chapters and go straight to what you need without missing out much.
The decision is made! I’ve selected a DVCS to use for Python. We’re
switching to Mercurial (Hg).
To me, the advantages of using *some* DVCS are obvious. At PyCon,
Brett already announced that Git was no longer being considered –
while it has obviously many fans, it also provokes strong antipathies.
So it was between Hg and Bzr (both of which happen to be implemented
in Python FWIW). Based on a completely unscientific poll (basically
whatever feedback I received in my personal inbox or on Twitter), Hg
has a strong following among Python developers and few detractors,
while few (except Canonical employees) seem to like Bzr. In addition,
most timing experiments point towards Hg being faster than Bzr for
most operations, and Hg is (again, subjectively) easier to learn for
SVN users than Bzr. (Source: Python mailing list)
Who would have thought opensource projects could be ripped off that blatantly. Django is a registered trademark of the Django Software Foundation, perhaps a warning could be issued. There’s really no point wasting time and resources pursuing this incident.
The man behind Django 2.0 is Ray Horn whose public LinkedIn profile can be viewed here. He owns a patent, a Python blog where he blogs as “Guido Python” and wrote some dubious Python software. (Guido van Rossum, by the way, is the Python’s Benevolent Dictator For Life.)
In the LinkedIn profile, he claims to be:
Supporting around over 2 million lines of Python codes.
It appears it is not the first time, he did something like this. He has been criticized for taking BlogCFC, rebranding and releasing it for profit.
I am unsure if he did anything wrong here. He probably didn’t as the license might have allowed him to alter the software for commercial purposes so it is attributed back to the author. (I am not expert in software licenses.) But what he did here violates commonsense software ethics because there weren’t significant change from the opensource version. It just start to get me thinking – how to stop such activities. At the end of the day, it’s up to buyers to decide if they are willing to trust the Ray Horn brand or not.
It’s the first Python User Group meeting in Singapore. It’s interesting to see that the number of people using Python in Singapore (we’re a population of 4.5 million when I last counted with my fingers).
Let me first say I’m not really a Python programmer developer. I work with PHP more but Python has always been interesting for me mainly because of the beauty in the syntax. I probably would blog more about it in future (not near).
Anyhow, the Singapore Python User Group is organized by several Republic Polytechnic lecturers, mainly teaching Diploma in Interactive & Digital Media. Two of the courses that in the diploma actually uses Python – Multimedia Programming I and II. I think Temasek Polytechnic has a little bit of Python in this shell scripting course too.
The first meetup is mainly a sharing session, the later part of the meetup broke in lightning talks ala Barcamp. There is also mention of PyCon Singapore 2010. I hope things would work out right. Things should be interesting.
I figured I should too mentioned that there are women present in this meetup and they are not PR people.
The meetup finished at 7 where I rush home for dinner. Met Jonathan on my way out of SMU and we chatted a little. And yeah, he didn’t know what’s Python.
Interestingly, there actually are people interested in Python in Singapore. Most Singaporeans are Java or .NET language programmers due to the things they teach in school. Java and .NET languages are great but alternate languages won’t hurt.
The Python User Group is on coming Thursday, i.e. October 9, 2008.
Venue: SMU, SIS (School of Information System) NSR 2.1
Time: 5:00pm – 7:00pm
What’s the session about?
Introduction of the group
Sharing of Python initiatives (open invitation to anyone)
5 to 10 minutes each
Please bring your own laptop, if necessary
Sharing of PyCon Singapore 2010 initiative
Invitation to participate
Of course you know I probably be there for the tea since Singapore Institute of Management have no more free tea breaks and we now have to pay a dollar seventy cents to get our own bun and coffee. To think Irene and I spend one whole semester complaining that the coffee sucked, the tea sucked, the plain water sucked and the flatten bun did not look at all appetizing. Now there’s no more. We only appreciate things when we miss it.
Rants aside, anybody going to the Python User Group meeting?