Skip to main content

Posts

Ruby on Rails vs PHP

In my past experience with Web Apps, I have worked with PHP (with MySQL). Now I'm working on my website and using PHP again. At work, however, we are using Ruby on Rails (RoR), with Oracle. This makes me want to do a comparison of the two. Obviously, I will compare RoR and PHP, but both using a MySQL database. Keep in mind that this is based on my impressions, not necessarily the best technical aspects of each language. RoR Advantages: RubyGems - It's extremely simple to install extra features (calendar date select, etc). Yeah, you can have libraries in PHP, but it's not as simple and polished as RoR. You can even define gem dependencies your app has in environment.rb and then use "rake gems:install" to install all gems your project requires. Layouts and Partials - Let's face it: having a "standard.html.erb" layout (or template, if you will) and then having "" in it is just beautiful . Whatever content you create will automatically (or au...

Is Apple becoming another Microsoft?

You know what pissed off Linux/Unix folk about Microsoft and Windows? My best guess is that it wasn't Open-Source. Thus, their suggestions weren't taken into consideration as much as they should have. Microsoft was controlling its own software too much for its own good. Now Apple is doing the same thing. Let me explain with the example of iPods. If we take a look at any iPod model before the iPod touch, we notice that (internally in the filesystem) it's pretty simple. You have your music files and your song/other stuff database. The database(s) were plain-text and their structure could be examined and mimicked. This allowed for syncronization with software other than Apple's iTunes. Now welcome the iPod touch... No more simplicity. iPhone OS keeps its databases hashed. Yes, you can put music files on there with non-iTunes, but they won't show up in your lists. It's like the files are orphaned. The only program you can sync the iPod touch with is iTunes. Oh, and ...