×
Programming

Is Ruby on Rails Maintainable? 348

kale77in asks: "I've become a big fan of Ruby over the past few months, but I'm not at all sure about Ruby On Rails. Automatic code generation sets of alarm bells in my mind; so that, to RoR's promise of 'Web Development that Doesn't Hurt', I automatically add '...until you have to maintain it'. On the other hand, some writers and coders I respect (like the Pragmatic Programming mob) seem to be fans. I've mainly written generators in Python, to produce PHP/SQL/Java from SQL files, but I've always gone back to well-constructed objects, where extension and overloading offers more precise and maintainable customization than auto-generation allows. So is Rails just a nice RAD tool for disposable, cookie-cutter apps (which have a place, of course)? Is high-level generation just a bad OO substitute? And what has your experience of Rails' maintainability been?"
Perl

ActiveState Discontinues VisualPerl/Python 240

Noiser writes "ActiveState discontinues VisualPerl and VisualPython for Windows. Demand doesn't justify further development, they say. No, they don't mean to open-source these products, due to licensing problems with the inseparable MS Visual Studio integration code. Back to vi/Notepad/Komodo, then..."
Books

The Areas of My Expertise 174

Hemos writes "Most of the books sent to Slashdot for review have words like "Java", "hacks", or "802.11b" in the title, but occasionally an odd general book arrives after a publicist hits the wrong button on the keyboard. At first, I thought that John Hodgman's The Areas of My Expertise , was a mistake, but now I'm not sure. Because this is Slashdot, I'll spend the rest of the review wondering whether the Internet is really changing jokes, humor in general, and even all narrative form. But before that, I can tell you now that there's something sly, odd, and very funny about the book even though it is little more than a disconnected collection of lists and details. It's a coredump from a mind filled with 700 names of Hobos, the ways to use a ferret to rob a bank, the secret to winning every fight (use henchmen!), and the first draft of T.R. Roosevelt's famous command: speak softly and pierce their eyes with a golden hook." Read on for Peter Wayner's review.
Programming

Write Portable Code 397

Simon P. Chappell writes "Much as a certain large software company located in the North-West of the United States of America might wish otherwise, there are many different operating systems and platforms in use in the world today. Software these days needs to able to operate in a disparate environment, either by communicating with these other platforms or by running on them or, increasingly, doing both. The Information Systems industry is making good progress with the communication half of the problem (even if a lot of it seems to involve large amounts of XML), but it is still struggling with the issues inherent with writing portable code. Brian Hook's contribution to all of this is Write Portable Code , which according to it's subtitle is an introduction to developing software for multiple platforms." Read on for the rest of Simon's review.
Announcements

Nokia Starts Open Source Website 80

X-Fade writes "Nokia launched OpenSource.nokia.com today. It is the first place to look for information concerning Nokia involvement in the Open Source community. The Projects page lists all Nokia developed downloadable code including: Maemo (Development platform for Linux based handhelds), MobileNews (Mobile NNTP reader), Python for S60, Sofia-SIP (SIP User-Agent library) and more. The website also features a list of all projects Nokia contributed to."
PC Games (Games)

Answers From The Civ IV Team 439

Late last month we asked you for questions to pass on to the Civ IV team. Last week we posted the responses from game designer Sid Meier to your questions about his design philosophy. Well, this week Civilization IV has shipped, and we have responses from lead designer Soren Johnson for the Civilization development team over at Firaxis Studios. He has some thoughtful answers to your questions, and they're well worth taking a look at. Many thanks to Mr. Meier, Mr. Johnson, and the entire Civ IV team for accommodating us. Read on for the responses to your queries.

TurboGears: Python on Rails? 279

gcantallopsr writes "If you liked Ruby on Rails and its 15m intro video (.mov) you will probably like TurboGears and its 20 minute wiki tutorial. (.mov) It shows you the development of a simple wiki in just 20 minutes, and there is a text version of the tutorial. TurboGears uses Python, SQLObject, CherryPy, Kid, MochiKit and some extra pythonic glue to help you to (in their own words) 'Create a database-driven, ready-to-extend application in minutes. All with designer friendly templates, easy AJAX on the browser side and on the server side, not a single SQL query in sight with code that is as natural as writing a function.'"
It's funny.  Laugh.

Python vs. Alligator 99

evil agent writes "Fox News is reporting an incident in Everglades National Park where a python tried to swallow an alligator whole, causing it to explode. A picture of the aftermath is also provided. Scientists say that these python vs. alligator battles are becoming more frequent due to pet owners who discard the nonnative pythons in the Everglades."
United States

CA Sec. of State Panel on Open Source Elections 207

goombah99 writes "The Open Voting Consortium has announced that California Secretary of State Bruce McPherson is forming a panel to investigate using open source software in elections. Suggested Panel members include Security expert Bruce Perens and Python guru David Mertz who is associated with the sourceforge EVM2003 voting machine project. This is big since a favorable outcome could help fund prototypes of true open source election equipment and systems."
Programming

Ask The Civ IV Dev Team 384

On Monday, we asked you for questions for industry legend Sid Meier. Today, we're asking for question to put to the folks behind the technology of Civilization IV. Besides the actual coding and development that went into the game itself, the team has made Civilization IV infinitely moddable through technologies such as XML, Python, and a fully developed SDK. Led by lead designer Soren Johnson, the team will answer your questions about the creation of the fourth chapter in one of the most influential game series out there. So, fire away with your questions. One per comment, please, and keep them topical. We'll pass the ten best questions to Johnson and the team, and the answers will be posted as soon as we have them in our hands.
Programming

Remaking Civilization In Your Own Image 36

Gamecloud has a piece on the moddability of Civilization IV. The article goes into detail about the numerous levels at which content creators can change the game of Civilization. From the article: "The next level offers Python and XML support, letting modders with more experience manipulate the game world and everything in it. XML (eXtensible Markup Language) files can be edited in standard text editors or in special XML file editors that have ease-of-use features like a grid view. Editing these files will allow players to tweak simple game rules and change or add content. For instance, they can add new unit or building types, change the cost of wonders, or add new civilizations." This is a more detailed look at a topic we've discussed before. Gamespot has a preview of the upcoming title, as well.

Game Scripting With Python 186

P. Staurou writes "There is very interesting article about game scripting with Python over at Sylphis3d.com. It talks about how game engines should be structured as operating systems with actors being the processes. The proposed design is based on a special version of Python called Stackless and already successfully implemented in their own Sylphis3D game engine."
Software

Lucene in Action 109

Simon P. Chappell writes "I don't know about you, but I hardly bother with browser bookmarks any more. I used to have so many bookmarks, back in the early days of Netscape's 4 series, that I would have to regularly trim and edit my bookmark file to prevent my browser from crashing on startup -- that's a lot of bookmarks, folks! Now, I go to my favourite web search engine, enter a couple of appropriate search terms and voila, there's my page! Search engines are so ubiquitous that we rarely give much thought to the technology that powers them. Lucene in Action by Otis Gospodnetic and Erik Hatcher , both committers on the Lucene project, goes behind the HTML and takes you on a guided tour of Lucene, one of a generation of powerful Free and Open-Source search engines now available." Read on for the rest of Chappell's review.
Programming

A Piece of CherryPy for CGI Programmers 193

An anonymous reader writes "IBM developerWorks is running an article outlining the strengths and offering some helpful advice on the Python framework 'CherryPy'. CherryPy uses the same concepts as CGI to bind a web server to a web application, but it improves performance and gains persistence across requests by handling all its requests within a single process."
PHP

PHP 5 Objects, Patterns and Practice 165

Daniel Holmes writes "In addition to using PHP to 'just get the job done' for years now, I've been running a humble user group here in the Midwest. As such, I have read numerous books on and around the subject, always looking for something great to inspire my colleagues, group members and myself alike. There are a metric ton of books out there that will walk you through PHP syntax -- this is not one of them. If you are looking for a book on rapidly developing prototype sites, or writing lots of HTML-embedded PHP, just keep looking. But if you have read even one of those books, or just felt like your programming style itself could use a little upgrade, then go get yourself a copy of PHP 5 Objects, Patterns, and Practice by Matt Zandstra." Read on for the rest of Holmes's review.
Slashback

Slashback: Start, Trash, Explain 142

Slashback tonight with more on the Microsoft start page project vis-a-vis Google's similar one, a wee $40 million slap on the wrist for Amazon over shopping-cart patent infrigement, new animals for the CodeZoo, and a strong denial that WikiPedia has announced a more stringent editorial policy. Details on these stories and more, below.
Programming

Fun Stuff at OSCON 2005 153

OSCON 2005 was held in a convention center this year, instead of a hotel, because it just got too big (2000+ people). Too big, in fact, for pudge and myself to cover more than a fraction of the talks and the ideas flitting around the hallways. But here's some of what I found cool last week. And if you attended or presented at OSCON and want to tell us about all the neat stuff we missed, please, share your thoughts in the comments, or submit a fact-rich writeup and we'll maybe do a followup story later.
Programming

Python's Cheese Shop Now Open 40

Richard Jones writes "Python's software repository has finally got its own home at the Python Cheese Shop. The Cheese Shop includes the package index (PyPI) and package download repository."
Programming

Choice of Language for Large-Scale Web Apps? 801

anyon wonders: "PHP is the most popular language for the web. eBay uses ISAPI (C), Google uses C/C++ (search), Java (gmail), and Python. Microsoft uses ASP (what else?). For small web site, it really doesn't matter. What's your take on language choice for large-scale web applications? Maybe language choice is irrelevant, only good people (developers) matter? If you can get the same good quality people, then what language you would chose? Considering the following factors: performance, scalability, extendibility, cost of development (man-month), availability of libraries, cost of libraries, development tools? Has there been a comprehensive comparison done?"

Slashdot Top Deals