After finding the excellent CodeIgniter TextMate Bundle, I’ve switched to TextMate as my editor of choice for my CodeIgniter development. I’ve tried switching to TextMate in the past and there is a lot I like about it, however I always end up back with BBEdit for find/replace and other text manipulation tools.
This time though. I think I may be switching to TextMate permanently for CI development. My main annoyance with CI is how verbose some of the syntax is. Shortcutting that is worth quite a lot to me.
I’ve added a couple of snippets to the CI bundle. Here they are in case anyone else finds them useful.
This gives you a model property - named ‘model->property’ with Tab Trigger + cimod assigned:
\$this->${1:Model_name}_model->${2:property}$0This gives you a model method - named ‘model->method’ with Tab Trigger + cimod assigned:
\$this->${1:Model_name}_model->${2:method}(${3:args})$0It’s a little thing, but I’m quite excited about this and I’m really looking forward to seeing if I can incorporate these time savers as habits as I’m doing a little CI work this weekend.
Popularity: 12% [?]
CodeIgniter Framework :: TermiT's Blog adds this Pingback:
[…] CodeIgniter TextMate Bundle Additions […]
February 25th, 2008 at 9:39 am
Justin adds this Comment:
Alex,
I installed your Twitter WP plug-in tonight (donated $2). Wow. It works perfectly.
I also stumbled across this post. THANK YOU for mentioning CodeIgniter. I’d never heard of it before. I’ve been considering starting a new application with CakePHP. CI seems so much easier to learn and use. Instead of baking - i’ll be making with CodeIgniter!
March 6th, 2008 at 9:54 pm
Some CodeIgniter Tutorial links « Afruj’s Weblog adds this Pingback:
[…] CodeIgniter TextMate Bundle Additions […]
May 1st, 2008 at 8:48 pm
Clark Jones adds this Comment:
Hi Alex, glad you like the bundle i’ve just updated it to include the modifications to CodeIgniter 1.6.1. I also took the liberty to also include your two snippets hope you like it
May 4th, 2008 at 2:15 am