-
Website
http://dmiessler.com/ -
Original page
http://dmiessler.com/blog/ror-mac-textmate-sshfs-remote-development -
Subscribe
All Comments -
Community
-
Top Commenters
-
ax0n
5 comments · 1 points
-
Maxo
12 comments · 2 points
-
Michael Blume
5 comments · 1 points
-
cooperati
179 comments · 2 points
-
dapxin
39 comments · 1 points
-
-
Popular Threads
Yet I wonder if it doesn't encourage some dangerous attitudes practices.
1. Revision control.
Yikes. I love the *convenience* of being able to edit remotely, but unless your remote directory is RC-protected, you run the real risk of shooting yourself in the foot.
Now yes, yes, yes, I know that you can get around this by using SVN on your mounted dir, but I think that most people ( at least when I was using mounted shares on windows this was the practice ) just open the share, make an edit, and move on. Or think "oh this is just a teensy change....".
That may be more of a problem with the developer and not the tool...
2. The Rails Model
Develop locally and then use a deployment technology. 37Signals grew out the "Capistrano" tool which is a master of deployments ( imagine Rake SSH ). This makes deployment easier *and* allows you to make incremental bug fixes ( plus re-deploy ) *AND* offers integration into SVN (*checkout tag with such and such value and pull that out and then take that content and send it over to foobar.domain.com pointing to database rorisgreat_development ).
http://manuals.rubyonrails.com/read/book/17
3. Ultimately this model of interface is what I have adopted for my WordPress install. I have installed it locally, mangle with Textmate and do the endless reloads locally ( with SVN on the dir ) and THEN i deploy remotely. While I have no capistrano, all my work is in a theme so it's not too painful to tar up that and upload it.
2. I wasn't aware of that; I'll check that out.
3. Interesting...I'm going to check this out too...
Aren't you a huge VIM proponent? How do you decide whether to use VIM, BBEdit, or TextMate when confronted with an editing/coding task?
If I were to have had to make this decision without the benefit of input from this quality of mentor (e.g. the creator of Rails himself), I'd probably have chosen to use either Eclipse or Vim. But everything I've seen on the subject points me toward Textmate being the correct answer.
So, when in doubt, see what those with more experience are doing and mimic it... :) Once I get a good feel for things I'll be able to form my own opinion, but until then I'm going to yield to current wisdom.
Cheers,
-Daniel
Cheers,
-Daniel