Community Page
- buildingbrowsergames.com Jump to website »
-
Subscribe -
Community
-
Top Commenters
-
Popular Threads
-
Recent Comments
- I get errors like this: "Notice: Use of undefined constant attacker - assumed 'attacker' in /Users/Niels/Sites/bg/smarty/bg/forest.php on line 53" Caused by the arrays:...
- I read this tutorial and it help me get in the mindset I needed to be in to start my first big project. Nice job on the tut and I look forward to reading more from you. If you want to check out my...
- You're missing the string formatting that puts arguments into your SQL statement - add that, and you should be good to go.
- "SELECT value FROM user_stats WHERE stat_id = (SELECT id FROM stats WHERE display_name = <foo> OR short_name = <foo>) AND user_id = <bar>" i have inserted this into sql...
- The source is definitely all still there - take a look at http://code.google.com/p/building-browsergames-tutorial/, and click on the 'Source' tab.
Jump to original thread »
Introduction
This entry is based on the Building Browsergames blog entry: Adding Stats (PHP)
It doesn’t hurt to have at least skimmed through the original blog entry about the PHP version before proceeding to the the Ruby on Rails version below.
Setting The User’s ... Continue reading »
This entry is based on the Building Browsergames blog entry: Adding Stats (PHP)
It doesn’t hurt to have at least skimmed through the original blog entry about the PHP version before proceeding to the the Ruby on Rails version below.
Setting The User’s ... Continue reading »
5 months ago
One thing I could recommend is that if you find that you learn well from video resources that you look at some of the instruction made available by Railscasts.com (free) and PeepCode.com (small fees per video). There are also some introductory screencasts available at RubyonRails.com. Perhaps you could watch some material on both and see if one appeals more than the other. Alternatively perhaps flipping through some books might help. Simply Rails 2.0 might give you something you could compare against a good starting book for CakePHP.
5 months ago
now that experience might as well be nothing.
Personally, I would recommend Django - have you already unconsidered it?
Python is super-intuitive and easy to learn for new and experienced
programmers, and the indentation-based scoping makes it so that Python code
is a lot easier to read than the more brace-happy languages.
When I *was* working with Rails, one book that I found indispensable was
Agile Web Development with Rails - it was a great walkthrough on getting up
and running with Rails(and if I remember correctly, it had an appendix that
taught you enough Ruby to understand what you were actually doing).
Personally, I would recommend against using PHP - while there are definitely
arguments *for* it, there are enough arguments against it that you should
probably steer clear. Using a PHP framework like CakePHP or CodeIgniter
might change that(I'm afraid I haven't tried one yet), but in my experience
PHP tends to almost encourage you to write poor, shoddy code. I'm not saying
that's all you can write - but if you want to build things seriously, you
will need to be a lot more careful with PHP in order to write good,
maintainable code.