1 of 3
1
PHP-sugar
Posted: 29 October 2008 10:06 AM   [ Ignore ]
Newbie
Rank
Total Posts:  10
Joined  2008-10-28

I have begun my work on a PHP-sugar for Espresso. I’ll be posting about my progress to here.

The project can be found here: http://www.assembla.com/spaces/php-sugar/

 Signature 

Which one comes first, Espresso with CodeSense or xCode for PHP?

Profile
 
 
Posted: 29 October 2008 12:37 PM   [ Ignore ]   [ # 1 ]
Newbie
Rank
Total Posts:  7
Joined  2008-10-28

I’ve been waiting for this. :) I’d really like to see how CodeSense for PHP turns out. Then it’s bye-bye Coda. :D

Profile
 
 
Posted: 29 October 2008 12:41 PM   [ Ignore ]   [ # 2 ]
Newbie
Rank
Total Posts:  1
Joined  2008-10-29

That’s right! Coda is getting behind now.

Profile
 
 
Posted: 01 November 2008 06:31 AM   [ Ignore ]   [ # 3 ]
Newbie
Rank
Total Posts:  3
Joined  2008-11-01

I would very much appreciate a php sugar. It is beyond my ressources at the moment to go into this by myself but I would help testing. The big question is: will Espresso’s preview be able to deal with includes?

Johannes

Profile
 
 
Posted: 01 November 2008 06:48 AM   [ Ignore ]   [ # 4 ]
Newbie
Rank
Total Posts:  10
Joined  2008-10-28

at the moment I have very little information about what espresso can and what it can’t do. We will just have to wait for the sugar documentation to mature. One thing I would really want would be Xcode like “parsing” of the document to build an index of functions and variables in documents. So far as the itemizers haven’t been covered in the wiki there is little I can do in this area.

 Signature 

Which one comes first, Espresso with CodeSense or xCode for PHP?

Profile
 
 
Posted: 01 November 2008 11:06 AM   [ Ignore ]   [ # 5 ]
Administrator
RankRankRankRank
Total Posts:  106
Joined  2008-10-27

I’ve now added more info on itemizers, and to answer your other questions: Espresso’s preview will not handle .php without a server running; and parsing of the document won’t be possible in 1.0.

Profile
 
 
Posted: 01 November 2008 11:58 AM   [ Ignore ]   [ # 6 ]
Newbie
Rank
Total Posts:  3
Joined  2008-11-01
Jan - 01 November 2008 11:06 AM
Espresso’s preview will not handle .php without a server running.

That is based in the nature of php I guess. What I would need is simple: an easy means (shortcut) to save and upload the file I’m working on and tell Espresso’s preview simply to reload.

and parsing of the document won’t be possible in 1.0

What do you mean by that? No syntax-navigation (like code folding)? No Sugar at all for php? or simply no php-server build in?

Johannes

Profile
 
 
Posted: 01 November 2008 12:03 PM   [ Ignore ]   [ # 7 ]
Administrator
RankRankRankRank
Total Posts:  106
Joined  2008-10-27

That did sound rather vague. I meant document parsing to provide completions from functions in your own classes, for example. Folding and Navigator support is of course perfectly possible.

Profile
 
 
Posted: 04 November 2008 05:51 PM   [ Ignore ]   [ # 8 ]
Newbie
Rank
Total Posts:  13
Joined  2008-11-04

Any news on this sugar? I’m just a little bit frustrated to not be able to work with PHP in espresso, so I started my own sugar. Just would like to know what you managed to get to work, and which work we might be able to share.

Thanks
Tobias

Profile
 
 
Posted: 04 November 2008 05:53 PM   [ Ignore ]   [ # 9 ]
Newbie
Rank
Total Posts:  13
Joined  2008-11-04
Jan - 01 November 2008 12:03 PM
I meant document parsing to provide completions from functions in your own classes, for example.

So there is currently no trigger or something like that? Even not with the obj-c bundles?

Profile
 
 
Posted: 04 November 2008 05:58 PM   [ Ignore ]   [ # 10 ]
Sr. Member
RankRankRankRank
Total Posts:  205
Joined  2008-10-28

Maybe we should get this sugar under some sort of version control and allowing others to help develop it. It would suck to do twice the amount of work, or rely on one individual to produce a sure to be popular sugar.

 Signature 

PHP.sugar

“Quick! Get in the Tardis!”

Profile
 
 
Posted: 04 November 2008 06:00 PM   [ Ignore ]   [ # 11 ]
Newbie
Rank
Total Posts:  10
Joined  2008-10-28

I’ll share my work tomorrow when I wake up in the morning (it’s 1am here in Finland) I have been quite busy during these last few days. I have focused on intelligent code sense, meaning that right suggestions are only shown in right context (for example keyword return is only offered inside a function and operator AND only when writing a conditional statement like an if clause). The work hasn’t been very fast since none of the “ready” sugars use this kind of structuring (css is the closest). But by all means I’ll share the code very soon…

 Signature 

Which one comes first, Espresso with CodeSense or xCode for PHP?

Profile
 
 
Posted: 04 November 2008 06:16 PM   [ Ignore ]   [ # 12 ]
Newbie
Rank
Total Posts:  13
Joined  2008-11-04

@Lassi: Thank you very much Lassi, sounds really great! I’m looking forward your work.

@Derek: I really agree with you. Maybe having a SVN repository with all “public” sugars would be the best. Write protected, with some registered contributors for each one. Could not be so hard to set something like that up. Even updates would be really smooth with this. Any comment from Macrabbit?

Profile
 
 
Posted: 04 November 2008 06:27 PM   [ Ignore ]   [ # 13 ]
Jr. Member
RankRank
Total Posts:  39
Joined  2008-10-28

@Tobias

I second you… SVN would be the very best solution!
So all the “developers of sugars” can load up the newest codelines “just in time” and “the normal” user has the possibility, to fetch these version from the repository to his Mac only minutes, after upload… :-)

 Signature 

kind regards
pepe
http://phpwcms-templates.de

Profile
 
 
Posted: 04 November 2008 08:48 PM   [ Ignore ]   [ # 14 ]
Sr. Member
RankRankRankRank
Total Posts:  205
Joined  2008-10-28
Lassi - 04 November 2008 06:00 PM
I’ll share my work tomorrow when I wake up in the morning (it’s 1am here in Finland) I have been quite busy during these last few days. I have focused on intelligent code sense, meaning that right suggestions are only shown in right context (for example keyword return is only offered inside a function and operator AND only when writing a conditional statement like an if clause). The work hasn’t been very fast since none of the “ready” sugars use this kind of structuring (css is the closest). But by all means I’ll share the code very soon…

Awesome! I really appreciate the initiative you took with this project. Can’t wait to see what you’ve done. Sounds interesting!

 Signature 

PHP.sugar

“Quick! Get in the Tardis!”

Profile
 
 
Posted: 05 November 2008 06:11 AM   [ Ignore ]   [ # 15 ]
Newbie
Rank
Total Posts:  10
Joined  2008-10-28

Ok, i have set up an SVN-repository for the Sugar, anyone who wants access just mail me at lassi (dot) veikkonen (at) mac (dot) com .

PS. there isn’t much that has been done yet, i have mainly been exploring the context.

PPS. The project can be found here: http://www.assembla.com/spaces/php-sugar/

 Signature 

Which one comes first, Espresso with CodeSense or xCode for PHP?

Profile
 
 
   
1 of 3
1