John, Mike
Thanks, this is interesting. I haven't looked at Open Shift and as
luck would have it they down for maintenance today.
My current development process is like Mike's but without
ECLIPSE+PDT. I use a Mac (mostly) and Ubuntu sometimes, so running
Apache is simple. For a new site (or theme rather) I would add a
virtual host to the Apache config, install Wordpress, add a new
database to my Mysql server. After that theme development is just a
matter of creating/editing PHP, _javascript_ and CSS (with vi). I test
by pointing the browser at my virtual host and hitting reload. I
spend a lot of time debugging with Firebug and when stuff works I
check it into SVN. This is pretty light weight. What I was looking
for was a single tool that would replace the vi part and do a bit
more for me, for example css hints (I find css syntax very
forgettable).
When I get the basic theme working I upload to a test host and begin
the tedious process of making it work in IE, Android and iP*s. I
think this kind of process is pretty common.
When I asked about PHP support I was thinking along the same or
similar lines as Mike, I'm probably also too hooked on the way I do
things now. I later remembered that IBM did a nice implementation
of PHP on Java as part of Project Zero [1] and was wondering if that
(assuming that IBM could be persuaded to open source it) wouldn't
solve the problem of being part of Orion. Having thought about it a
bit more I suspect that if you end up putting that kind of PHP
support in you'd probably get asked for Ruby, Scala etc etc and
before you know it something that is nice and light weight now gets
turned into bloatware. Not really a good idea.
I'm interested in understanding your (John's) first paragraph a bit
more. I really do need to spend more time looking at Orion.
Cheers, Zoe
[1] http://www.projectzero.org/
John,
You're right. I'm probably too stuck on how I work today, which is
Eclipse+PDT+XAMPP. That allows me to view my changes before
committing them.
However, given my odd lifestyle, the fact that I can do almost
100% of my work with no internet connection is pretty handy.
Date: Fri, 3 Feb 2012 16:33:16 -0500
Subject: Re: [orion-dev] PHP support?
How do you test your PHP code
changes today?
You can certainly run an Orion server on your desktop and use it
as a glorified
editor, but I don't think that's the ideal setup. The most
natural
setup to me would be pushing from Orion to a test server via
Orion's SFTP
export, or deploying via Git to a free cloud platform that
supports PHP
as a test bed (Zend cloud, Heroku, Open Shift, etc).
For Zoe's WordPress case there is
even
a free demo of a WordPress application on Open Shift. That would
make a
great test bed for development, and we know Orion deployment to
Open Shift
works fairly well [1].
For anyone interested in
developing
better PHP tooling for Orion, note that there was a Google
Summer of Code
project on this last year, which would likely make a good
starting point.
It might need some work to catch up to newer Orion versions, but
I recall
it had basic syntax validation and content assist implemented
already [2].
John
[1] http://planetorion.org/news/2011/11/developing-for-openshift-on-orion/
[2] http://orion.gusak.eu/
FWIW, I've been
interested
in trying to use Orion to edit the HTML and PHP that I maintain
for my
sections of the eclipse.org website. I would obviously want to
be able
to prototype my content before committing the pages, so some
sort of ability
to run the PHP pages would be necessary.
If we pretended for
a second
that Phoenix used git, it seems that the main requirement would
be the
ability to a local server on my machine that ran both Java (for
Orion's
server) and PHP. It appears that XAMPP would do that. But that's
a whole
pile of issues because it uses Apache rather than Jetty, and the
Orion
server would need to be packaged as a jar or war file.
Has anyone played
around
with making something like this work? Anyone else out there have
any other
ideas on how I could stitch together something along these
lines?
From:
orion-dev-bounces@xxxxxxxxxxx
[mailto:orion-dev-bounces@xxxxxxxxxxx]
On Behalf Of zoe slattery
Sent: February-03-12 10:39 AM
To: Orion developer discussions
Subject: Re: [orion-dev] PHP support?
On 03/02/2012 14:11, Ken
Walker
wrote:
Hey Zoe!
There is PHP syntax highlighting support if you add the
CodeMirror plugin.
What type of functionality and scenarios are you looking to
support?
Hey :-)
That's a good question and a really, really hard one to
answer. I will
spend a bit more time working through what is in Orion already
and
looking at the PHP syntax highlighting and see if I can come
up something
that makes sense. Briefly though, I'd like to be able to do
the complete
development of (say) a Wordpress theme in one tool. Of course,
I do this
already, but my one tool is the lowest common denominator,
'vi' :-).
Zoe
Cheers,
Ken
|
|
Ken Walker
|
2670
Queensview Drive
|
|
Eclipse Orion Project
|
Ottawa,
K2B 8K1
|
Tools for the web,
on the web
|
Canada
|
IBM Software Group,
Rational
|
|
|
Phone:
|
+1-613-356-5021
|
|
|
Mobile:
|
+1-613-355-7666
|
|
|
e-mail:
|
ken_walker@xxxxxxxxxx
|
|
|
Project
Orion
|
|
|
|
|
|
zoe
slattery ---2012/02/03 08:24:51 AM---Hi - I just had a quick
look at Orion.
Very nice so far, really impressed with the easy to follow '
Hi - I just had a quick look at Orion. Very nice so far, really
impressed with the easy to follow 'getting started' docs. I
wondered if
you had thought about PHP support? A lot of people use it :-/
Zoe Slattery
_______________________________________________
orion-dev mailing list
orion-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/orion-dev
_______________________________________________
orion-dev mailing list
orion-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/orion-dev
_______________________________________________
orion-dev mailing list
orion-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/orion-dev
_______________________________________________
orion-dev mailing list
orion-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/orion-dev
|