Espresso loads sugars too slowly
Posted: 04 April 2009 07:23 PM   [ Ignore ]
Newbie
Rank
Total Posts:  2
Joined  2009-04-04

I downloaded the trial Espresso for testing today. I have used Textmate for some years but consider another editor these days caused of Textmate’s CJK character problem and my curiosity on other beautiful editors. So I tried converting my favorite CakePHP snippets in Textmate into Sugar snippets based in PHP.sugar. I succeeded in converting 120 snippets, but now Espresso starts too slowly.

My MacBook Pro(Core Duo 2.0Ghz / 2gb) spent as many as 14 seconds(originally 1 second) on starting Espresso. It’s too slow, isn’t it? How can I improve the loading process? Besides, I think Espresso needs UI solution for many Sugar snippets.

And I have 2 suggestions.

first, I hope “search & replace in project” feature.
second, once the drag bar(above “Quick Publish”. I don’t know the exact name) is dragged out, it’s never relocated to the original place without restarting Espresso. See the attached image to this post for reference.

Image Attachments
image.jpg
Profile
 
 
Posted: 04 April 2009 08:07 PM   [ Ignore ]   [ # 1 ]
Moderator
RankRankRankRank
Total Posts:  1252
Joined  2008-10-28

Welcome to Espresso!

The slow loading as you gain more Sugars and XML actions is hopefully something that MacRabbit will improve.  I don’t know if Espresso is using any sort of caching system, but I suspect not.  I’ve been noticing increasingly slow loading times, as well, particularly as I add Sugars like PHP and ExpressionEngine which have fairly sizable snippet libraries included.

As far as user snippets, Espresso does have a UI for entering them; see attached screenshot.  Unfortunately, it’s woefully inadequate for the kinds of numbers of snippets that you’re using.

I’m planning to eventually add interface elements for constructing actions/snippets using the TEA plugin, but that’s a ways down the road (won’t happen until I’ve got version 1.0 ironed out, certainly).

Image Attachments
add_snippets.jpg
 Signature 

Ian Beck
MacRabbit Support

Follow us on Twitter, or try my custom themes: Quiet Light & Earthworm

Profile
 
 
Posted: 07 April 2009 08:25 PM   [ Ignore ]   [ # 2 ]
Newbie
Rank
Total Posts:  2
Joined  2009-04-04

Thanks, Beck. I agree with you on the cache. I hope the improvement on the problem as soon as possible. As the result of testing. I’m comparatively sarisfied with Espresso. I feel the lack of heavy features like TextMate, but understand Espresso’s concept is different with TextMate’s that. Fancy and simple. Good. It was in my favor and I bought a discounted license by MacHeist fortunately. Now all is ready. The only problem is the Sugar. Espresso’s extension system must be more improved than now, or it’s hard to overtake Coda or TextMate. I’m about to migrate to Espresso now.

I expect Espresso’s betterment and your works. Thanks again.

Profile
 
 
Posted: 30 January 2011 05:36 AM   [ Ignore ]   [ # 3 ]
Newbie
Rank
Total Posts:  1
Joined  2011-01-30

Hi, Is already somewhere a cake-php.sugar avilable?
I would like to create one sugar for cakephp and share it for everyone.

Would be great to get in contact with some cakephp developers who do use espresso already and have a chat how to build a nice cake-php.sugar.

greetz

Profile
 
 
Posted: 31 January 2011 03:11 PM   [ Ignore ]   [ # 4 ]
Moderator
RankRankRankRank
Total Posts:  1252
Joined  2008-10-28

I do not know of any existing Cake-PHP.sugar, so you can feel free to create one for yourself. Let us know if you have any questions about Sugar development! Your best resource will be the wiki, but you can always email us questions if you run into problems:

http://wiki.macrabbit.com/

 Signature 

Ian Beck
MacRabbit Support

Follow us on Twitter, or try my custom themes: Quiet Light & Earthworm

Profile