Domain: enigo.com
Stories and comments across the archive that link to enigo.com.
Comments · 7
-
Re:still waiting to use it...The thing is, from what I can tell, it's really specialized. I never had this problem with PHP or ModPython. Stop comparing Rails to languages, you fucking morons *headbutts wall until you all stop*
Of course it's specialized, it's an opinionated web framework for writing web applications in a certain style; on "rails", if you will. If it doesn't suit you, use a different framework, or no framework like you'd do with PHP or Python. Why is that so difficult to grasp when it comes to Ruby? But how does it fair for more general apps? You mean, without a database? Stateless, or what? Chances are you have data; you can just disable/not use ActiveRecord and have your models for the data do other things, with a similar interface to keep validation, creation, searching etc easy. One of the big things that worries me is that there are a lot of files generated. That scares me. What if I made a mistake at the beginning? Is it easy to go back? Going back is what revision control is for; if you're not using it, sucks to be you, though the boilerplate's trivial enough to regenerate/update if necessary. If your application is dwarfed by the boilerplate it might signify Rails is overkill for your application; you don't need a 60kLOC framework for Hello World or exporting a single database table to the web.
See, e.g, Ramaze, or Nitro, or Sinatra, or Iowa, or (...), or write your own 100-line nanoframework using Rack. Stop obsessing over Rails! This should answer your final question too ;) -
Re:Ways of Using Ruby
That link was meant to be here
-
Re:Switched to decaf, did they.
-
Rails is more then meets the Eye
Rails provides more then the scaffolding capabilities and simple framework of designing a blog as seen in the video. It provides the structure for fast and organized ruby application development by setting up for the user a foundation of modelling, views and controllers that are easy to use and distinguish. It is not the magic wand to a great web application. The magic wand comes with Ruby programming experience and learning to tie it into Rails application development. You could even go as far as stepping beyond the "narrow view" of what rails is doing and see the bigger picture, understanding that Ruby is supporting all of this webmagic and rails is providing the "rails" as it claims to. One challenge many of the "why is this better than Php?" questioners have difficulty seeing past is the far smaller community rails has, the less clear translation between what php can do and what rails is capable of, and the predefined examples of rails applications in action. Many people leap to using PHP becuase it provides pre-existing code snippets that make the same thing true of many php users, "simple cookie cutter codejobs." Rails offers you a chance at not only using a great framework, but also a great programming language that its built on to make more pragmatic and simpler design tactics to getting your website online and active. Another alternative to rails is Iowa which offers a lighter approach to maintenence, though remains less documented. It can be found here: http://enigo.com/projects/iowa Whatever you choose to do, look deeper into the situation then the surface of what appears to be "cookie cutter" programming and realize that a powerful tool lies beneath all of this: Ruby.
-
Re:Why rails annoys me...
You are very much correct.
Also, RoR's ORM does not play nicely with stored procedures. Bring this up to any die-hard Rails fanatic and they will start spinning: "You don't need it! Stored procedures are satanic and force business logic into the data store."
Which makes me think that most RoR pushers don't have experience with large corporate DBs.
A nasty side effect of RoRs current popularity is that it completely overshadows some very good Ruby web frameworks such as IOWA and Amrita -
Re:Why Ruby?
I've done alot of work with ruby in my free time on narf (http://www.narf-lib.org/). I'm not particularly fond of the permissions example either.
ruby is a young community, with a tolerant and diverse set of opinions. Rails isn't the only ruby O-R mapping; there is also lafcadio (http://lafcadio.rubyforge.org/). And Rails isn't the only web enviroment; there is also iowa (http://enigo.com/projects/iowa/index.html), as well as narf.
The english-speaking ruby community is young. Some parts of the language are very mature, and some parts are immature. It's an odd mix. I figure the ruby community now is about ~ to the php version 2-3, with different demographics.
Ruby usage is dispersed among alot of different projects. There are alot of different opinions about the right way to get things done; it's larger than one library.
~ patrick -
I heard someone is looking for Ruby? :-)
Check out my site for some Ruby GUI stuff:
(the gotcha is it's mostly in Portuguese. So jump to the "Exemplos Meus" (My Examples) section. Or use babelfish: http://babelfish.altavista.com)
http://geocities.com/canalruby
Hey, web stuff is easy with Ruby as well. But I don't have such examples for you. You have to get a taste of Ruby to find about its web capabilities. I Know IOWA has an example:
http://enigo.com/projects/iowa/index.html
Further enlightening at:
http://www.ruby-doc.com
http://www.rubyforge.org
http://raa.ruby-lang.org
You know, once you get addicted, there is no going back! :-)