Re: [PHP-DEV] Standards for developers

2009-06-11 Thread Nuno Lopes
Bottom line - rather than reinventing the wheel - is anybody else actually 
using Eclipse and has a simple set-up guide for how they have configured 
things? Ideally for windows, but I'd like to pull this up on the Linux 
boxes as well. If I'm going to have to start working on extension code 
it's easier on the linux box anyway and then I can cross test on windows.


I guess I have another option for you: use cygwin's cvs client. When you 
checkout, it translates the EOLs to windows style, and when you commit it 
translates the EOLs back to unix. This way you can code in any editor you 
want, but without surprises when doing diffs and when commiting.


Nuno 



--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] Standards for developers

2009-06-11 Thread Lester Caine

Nuno Lopes wrote:
Bottom line - rather than reinventing the wheel - is anybody else 
actually using Eclipse and has a simple set-up guide for how they have 
configured things? Ideally for windows, but I'd like to pull this up 
on the Linux boxes as well. If I'm going to have to start working on 
extension code it's easier on the linux box anyway and then I can 
cross test on windows.


I guess I have another option for you: use cygwin's cvs client. When you 
checkout, it translates the EOLs to windows style, and when you commit 
it translates the EOLs back to unix. This way you can code in any editor 
you want, but without surprises when doing diffs and when commiting.


But that defeats the whole point ...
Eclipse handles the CVS along with everything else so why would I want 
to add cygwin? Actually I don't want the files converted - that is just 
another possible area of confusion if both formats are being used in the 
php code I'd rather know that anyway.
I'm just looking for some help to get a cross platform solution based on 
Eclipse working.


--
Lester Caine - G8HFL
-
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] Standards for developers

2009-06-11 Thread Pierre Joye
On Thu, Jun 11, 2009 at 10:27 AM, Nuno Lopesnlop...@php.net wrote:
 Bottom line - rather than reinventing the wheel - is anybody else actually
 using Eclipse and has a simple set-up guide for how they have configured
 things? Ideally for windows, but I'd like to pull this up on the Linux boxes
 as well. If I'm going to have to start working on extension code it's easier
 on the linux box anyway and then I can cross test on windows.

 I guess I have another option for you: use cygwin's cvs client. When you
 checkout, it translates the EOLs to windows style, and when you commit it
 translates the EOLs back to unix. This way you can code in any editor you
 want, but without surprises when doing diffs and when commiting.

Every CVS does that, not only cygwin. That's the case for all text
files. However, some files have to be in one mode (can't find an
example right now). Other should not be in a given mode, usually mac
EOL are not supported on windows (compiler or makefiles).

Cheers,
-- 
Pierre

http://blog.thepimp.net | http://www.libgd.org

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] Standards for developers

2009-06-11 Thread Niel Archer
 rantish mode
 One of the problems with playing with a new platform is getting things 
 they way you are used to them. Linux is somewhat easier than Windows in 
 that respect, but using Eclipse has at least provided a level playing 
 field and now that I've got it tidied up and working on the Vista64 box 
 ( has to use w32 jave to run ;) ) I can now get around some of the 
 little niggles.

I do not understand why you have to run with win32 Java.  There is a 64
bit version of Java from Sun which runs on Windows.  Like most 64 bit
support on Windows, it takes some work to locate, the Java site mentions
it, but despite referring to a download I can't find it there.  Instead,
I use this link:

http://java.sun.com/javase/downloads/index.jsp

Also, there is a 64 bit version of Eclipse, although you have to do some
digging to find it exists.  Go to the mirror of your choice and look for
the 'eclipse-platform-SDK-3.4-win32-x86_64.zip' file.  This requires
that you add any dependencies for PDT etc yourself, but as each project
lists its dependencies this is not a real problem. However, it's the
only 64 bit version of Eclipse I have been able to find, PDT does not do
a bundle for x64 yet :-(

 Files that are common to windows and linux will naturally follow linux 
 rules on new line, so can't be displayed in 'notepad', and I've had to 
 switch some of the windows defaults to get 'wordpad' used instead. I had 
 forgotten to switch the wrap to ruler off which was causing a little 
 confusion with white space, but once I get Eclipse configured to the 
 windows php framework the problem will go away. Being used to 'notepad' 
 I kept opening files the wrong way at first, although some files do 
 actually display correctly in notepad.
 /rantish mode
 
 Bottom line - rather than reinventing the wheel - is anybody else 
 actually using Eclipse and has a simple set-up guide for how they have 
 configured things? Ideally for windows, but I'd like to pull this up on 
 the Linux boxes as well. If I'm going to have to start working on 
 extension code it's easier on the linux box anyway and then I can cross 
 test on windows.
 
 -- 
 Lester Caine - G8HFL
 -
 Contact - http://lsces.co.uk/wiki/?page=contact
 L.S.Caine Electronic Services - http://lsces.co.uk
 EnquirySolve - http://enquirysolve.com/
 Model Engineers Digital Workshop - http://medw.co.uk//
 Firebird - http://www.firebirdsql.org/index.php
 
 -- 
 PHP Internals - PHP Runtime Development Mailing List
 To unsubscribe, visit: http://www.php.net/unsub.php
 
--
Niel Archer
niel.archer (at) blueyonder.co.uk



-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] Standards for developers

2009-06-11 Thread Lester Caine

Niel Archer wrote:

rantish mode
One of the problems with playing with a new platform is getting things 
they way you are used to them. Linux is somewhat easier than Windows in 
that respect, but using Eclipse has at least provided a level playing 
field and now that I've got it tidied up and working on the Vista64 box 
( has to use w32 jave to run ;) ) I can now get around some of the 
little niggles.


I do not understand why you have to run with win32 Java.  There is a 64
bit version of Java from Sun which runs on Windows.  Like most 64 bit
support on Windows, it takes some work to locate, the Java site mentions
it, but despite referring to a download I can't find it there.  Instead,
I use this link:

http://java.sun.com/javase/downloads/index.jsp

Also, there is a 64 bit version of Eclipse, although you have to do some
digging to find it exists.  Go to the mirror of your choice and look for
the 'eclipse-platform-SDK-3.4-win32-x86_64.zip' file.  This requires
that you add any dependencies for PDT etc yourself, but as each project
lists its dependencies this is not a real problem. However, it's the
only 64 bit version of Eclipse I have been able to find, PDT does not do
a bundle for x64 yet :-(


PHPEclipse is still x86 as well ... I have no plans to move to PDT any 
time soon as I know most of the PHPEclipse code quite well now!
Along with a couple of other SQL packages. I tried the x86_64 build but 
could not install the other bits that I use successfully on the 64 bit 
version on Linux ... not enough hours to waste even more time fixing 
side issues, so I switched to what I was told DID work, and it's doing 
what I need.


--
Lester Caine - G8HFL
-
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] Standards for developers

2009-06-11 Thread Pierre Joye
On Thu, Jun 11, 2009 at 8:25 PM, Lester Caineles...@lsces.co.uk wrote:

 PHPEclipse is still x86 as well ... I have no plans to move to PDT any time
 soon as I know most of the PHPEclipse code quite well now!
 Along with a couple of other SQL packages. I tried the x86_64 build but
 could not install the other bits that I use successfully on the 64 bit
 version on Linux ... not enough hours to waste even more time fixing side
 issues, so I switched to what I was told DID work, and it's doing what I
 need.

please move this discussion elsewhere, it has nothing to do with php internals.

-- 
Pierre

http://blog.thepimp.net | http://www.libgd.org

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] Standards for developers

2009-06-11 Thread Stanislav Malyshev

Hi!

Files that are common to windows and linux will naturally follow linux 
rules on new line, so can't be displayed in 'notepad', and I've had to 


Drop notepad, it wasn't a good tool even in Windows 3.1, much less now. 
Use something like Notepad++. :)

--
Stanislav Malyshev, Zend Software Architect
s...@zend.com   http://www.zend.com/
(408)253-8829   MSN: s...@zend.com

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] Standards for developers

2009-06-11 Thread Lester Caine

Stanislav Malyshev wrote:

Hi!

Files that are common to windows and linux will naturally follow linux 
rules on new line, so can't be displayed in 'notepad', and I've had to 


Drop notepad, it wasn't a good tool even in Windows 3.1, much less now. 
Use something like Notepad++. :)


Wordpad works OK - the problem on Vista is that 'Open With' does not 
appear so you have to manually reset the .bat entries to open it.


--
Lester Caine - G8HFL
-
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] Standards for developers

2009-06-11 Thread Lester Caine

Pierre Joye wrote:

On Thu, Jun 11, 2009 at 8:25 PM, Lester Caineles...@lsces.co.uk wrote:


PHPEclipse is still x86 as well ... I have no plans to move to PDT any time
soon as I know most of the PHPEclipse code quite well now!
Along with a couple of other SQL packages. I tried the x86_64 build but
could not install the other bits that I use successfully on the 64 bit
version on Linux ... not enough hours to waste even more time fixing side
issues, so I switched to what I was told DID work, and it's doing what I
need.


please move this discussion elsewhere, it has nothing to do with php internals.


The only reason I'm trying to sort this out is because of your request 
to actually work on our own extensions. If questions and help on setting 
up PHP development platforms is nothing to do with php internals where 
should that discussion take place?


Niel - your suggested search string took me to a different download 
area, and the package there was a later version to the one I had 
downloaded. Eclipse and PHPEclipse now running x64 on Vista64. I think 
there is still a problem with the Xdebug plugin, but I can live without 
that for the time being. Thanks for the push in the right direction ...


Next step is to get build a project that accesses the PHP build process 
via cvs - if no one has already done that?


--
Lester Caine - G8HFL
-
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] Standards for developers

2009-06-11 Thread Pierre Joye
On Thu, Jun 11, 2009 at 9:04 PM, Lester Caineles...@lsces.co.uk wrote:
 Pierre Joye wrote:

 On Thu, Jun 11, 2009 at 8:25 PM, Lester Caineles...@lsces.co.uk wrote:

 PHPEclipse is still x86 as well ... I have no plans to move to PDT any
 time
 soon as I know most of the PHPEclipse code quite well now!
 Along with a couple of other SQL packages. I tried the x86_64 build but
 could not install the other bits that I use successfully on the 64 bit
 version on Linux ... not enough hours to waste even more time fixing side
 issues, so I switched to what I was told DID work, and it's doing what I
 need.

 please move this discussion elsewhere, it has nothing to do with php
 internals.

 The only reason I'm trying to sort this out is because of your request to
 actually work on our own extensions. If questions and help on setting up PHP
 development platforms is nothing to do with php internals where should that
 discussion take place?

Discussions about IDEs, editors, etc. have nothing to do here, period.


-- 
Pierre

http://blog.thepimp.net | http://www.libgd.org

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php