I study web development (and college), so my apologies if this sounds naive and offensive, I certainly don't mean it. My experience was with PHP and with a small project on the horizon (an illustrious shift calendar). I was hoping to learn one of the higher level structures to ease the load on the code. So far I have been watching CakePHP Symfony Django and Rails.
With PHP, URLs are displayed very simply in files, and it "just worked." It was fast for the server and intuitive. But with all of these structures, there is such a tendency to โgoodโ URLs by matching them with various functions and routing the parameters to different variables in different files.
The โRails Way Bookโ I am reading admits that this dog is slow and causes most of the difficulties in working on fairly large projects. My question is: โWhy is this in the first place?โ Is there a specific point in the url-maps-to-a-file paradigm (or mod_rewrite for a single file) that requires regular expressions and complex routing schemes? Am I missing something without using them?
Thanks in advance!
django ruby-on-rails routing url-mapping
Stefan mai
source share