en fi en en en fi en en en en en en en hi cs en en en en en en ru pl fr en en en en en en en en gl pt en en br pt tr en pt pt pt pt pt en en ro pt en en en en pt en en en pt pt en en en en en en en tr en en pt vi en en en pt pt en en ru ru en en en en en en en en en ru cs en en en en en en en en en en ru en en en en en en en en en en
I remember NanoWar had a class or seminar or something on Ruby on Rails a while back and was impressed by it, i haven't touched Ruby or Python really, though i've been reading through Python 3 tutorials for the past couple weeks. I recently bought some webspace (a VPS) and got LAMP all set up and started writing a simple forum in PHP, but now i'd like to actually do something with the space. I've been thinking that i'd like to try to do some sort of language-learning thing for Basque, a mixture of different websites like Duolingo and lingvist.io. When i read that Duolingo was written mostly in Python, that seemed like a good excuse to learn it. But i'm still not really sure what's possible in each language or what the advantages and stuff are of each.
Is there some place where you can look at online samples?
The "new" web programming languages are really fun to work with. When I tried RoR it seemed very fast and agile to program. I am not sure if you can get it to work on your LAMP stack, though. You can make a forum with it in no time without doing it from scratch. Oh wait, I remember that you love to do that, starting from zero. With Ruby on Rails you have access to many gems out there.
This was my gemfile back then, you can see all the different gems we used, some for testing only and some some just to try them out:
group :development, :test do
# Gems used only for assets and not required
# in production environments by default.
gem 'sass-rails',   '~> 3.2.3'
gem 'coffee-rails', '~> 3.2.1'
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
gem 'uglifier', '>= 1.0.3'
gem 'exception_notification', '~> 2.6'
I also wanted to try out and compare Django to RoR, but I haven't found the time yet. Maybe you can?
Re: Python/Django vs Ruby on Rails
07 April 2015, 22:07
Chickendude, you should have a signature mentioning "NIH" or Not Invented Here (and maybe so should I).
It essentially means you don't like using others work or in this case, love making things from scratch, even when there are perfectly good solutions already out there
I've recently been hearing stuff like Ruby is a dying language, but well.. I dunno, I've been using lisp for a couple of years (read 4,5) and people have been saying it's a dying language for the past 30 or so years, so I wouldn't put too much thought into that.
Maybe you could look at Rosetta code or something..
Example from Rosetta code that I was looking at (but in another language): http://rosettacode.org/wiki/Mandelbrot_set#Ruby
I had a classmate who was really into Ruby, but I don't know much about Ruby on Rails.. sorry to say.
Re: Python/Django vs Ruby on Rails
08 April 2015, 16:20
Heh, yeah i'm pretty satisfied with what i've done so far with the forum (i recently added markdown formatting in addition to bbcode, as markdown is much easier to type). Right now i'm still reading through the Python documentation and an online course so it might be a while, but perhaps you're right that it'd be worthwhile looking into both. At the very least i can share my thoughts when i start to play with Django some.
I haven't really gotten far enough to really get an idea what i can do with Python/Django, but some stuff, dictionaries in particular, seem like they'd be really useful in a language learning site. Ruby seems more web-oriented than Python, though looking through various (offline) scripts/projects online i see Python pop up more often than Ruby.
And i guess the charm of these (super) high-level languages is that you can get started working on more abstract stuff earlier, the gritty stuff has largely been taken care of by others. For example, i was thinking of writing a simple RSS feed parser as a practice project and saw there's a Python package called 'feedparser' which does pretty much everything for you. It might not be much fun and is probably a lot more overkill than i need, but i guess you can get stuff done more quickly. Though i don't care at all for prepackaged stuff like online forum software that takes away all the fun...
I've never learned a computer language to a useful state, so i suppose it's about time. Ruby and Python both seem like good choices to start.
And add, that does seem like a pretty good fit for me, or perhaps the "reinventing the wheel syndrome" For the TIs, i often like to write my own code so that i can release the whole thing in the Public Domain without worrying about other people's "give me credit" clauses and stuff. That and it's just more fun to know what everything does.
EDIT: I also hadn't thought about problems integrating Django/RoR with LAMP as i haven't tried either yet. Hopefully it'll be pretty straightforward.
Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending
4 posts • Page 1 of 1
Return to Programming Help
Jump to: Select a forum ------------------ General    News and Announcements    Calculator Related    Announce your Projects    Open Discussion Programming    Programming Help    Resources and Ideas RevSoft Projects    Legends    Monopoly    WabbitStudio       SPASM       WabbitCode       WabbitEmu    Wizards    Zelda