-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Documentations of Rose::DBx::Object::Builder and Rose::DBx::Object::Renderer can be found on CPAN:
- http://search.cpan.org/dist/Rose-DBx-Object-Builder/
- http://search.cpan.org/dist/Rose-DBx-Object-Renderer/
- Generate Database Tables with Rose::DBx::Object::Builder
- First Web App
- Integrating with CGI::Application
- Deploying Renderer with PSGI on DotCloud (http://www.dotcloud.com/) by Gary Ashton-Jones: https://github.com/garyaj/rdorDotCloud-SydPM-talk
- Download the snippets: http://db.tt/9Yr1sYhF
- Untar and put it in:
~/Library/Application Support/Sublime Text 2/Packages/User
- Download the zipped Bundle: http://db.tt/AxQ9LYm
- Unzip and double click to open in Textmate
Here is a list of the snippets triggered by tab: http://db.tt/89u3hv3
- Install snipMate http://www.vim.org/scripts/script.php?script_id=2540
- Download the zipped snippet: http://db.tt/gBPLUpg
- In your console/terminal, run
unzip ./rdor.snippets.zip -d ~/.vim/snippets/
To enable the snippets, you need to type :set filetype=perl.rdor in Vim. You can automate this step by appending this line:
au BufRead,BufNewFile *.pl,*.pm set filetype=perl.rdor
to your ~/.vimrc file. The line essentially enables both Perl and Rose-DBx-Object-Renderer snippets on files with .pl or .pm extensions. In this case, your ~/.vimrc file should look like
:filetype plugin on
:syntax on
au BufRead,BufNewFile *.pl,*.pm set filetype=perl.rdorAlternatively, you can create a file in ~/.vim/ftdetect/perl_rdor.vim and add the line to that file to achieve the same effect. When editing a new file or opening a file without .pl or .pm extensions, e.g. .cgi, you can always type :set ft=perl.rdor to manually set the file type.
(Thanks to Gary Ashton-Jones for creating the snippet file and Cees Hek for Vim setup suggestions)