Re: [PHP] PHP editor

2004-04-15 Thread Vicente Werner
El Thursday 15 April 2004 10:28, Arthur Radulescu escribi:
 Hello!


 This might sound like a stupid question but could anyone recommand a good
 PHP editor...
 I have used some editors until now but each one has some problems...

 Right now I am using PHPed which is pretty good but oine of the major
 problems is that it does fills the tabs with spaces which will increase a
 lot the size of pages specially the templates...

 Also using Zend which is very good but this is extremly slowly and some
 times it is almost crashing the computer so it is not very good for fast
 editing...

 What I am looking for is something to work pretty fast, have code
 autocompletion (even for functions defined in the included files like zend
 does) and also code ident in a similar manner with zend studio
If you're using Windows I'll give a try to phpedit (www.phpedit.net) and/or 
weaverslave (www.weaverslave.ws)

They're both pretty good, if you're on Linux, I strongly suggest Quanta and/or 
Komodo -also for windows-

-- 
__
Vicente Antonio Snchez Werner ( [EMAIL PROTECTED] )
Fijo: +34-923185650 Movil: +34-66865
Director Depto Informtica, Desarrollo y Seguridad Informtica
Wap Comunicaciones S.L.
C/Guadalajara n9-11
37003 Salamanca (Espaa)
--

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: smarty

2004-04-14 Thread Vicente Werner
El Wednesday 14 April 2004 13:33, Chris de Vidal escribió:
 pete M said:
  Moving our sites to smarty is the best thing we've done at our company...

 Just a few weeks ago, I'd have agreed wit' yah, but now I see Smarty as
 mostly (not always) redundant.  See my post where I learned that PHP makes
 a great templating engine:
 http://marc.theaimsgroup.com/?l=php-generalm=108145205519710w=2
Ugh that's not just fuckingly ugly, but a total doom to maintain over the time 
-two months without touching the code and you're absolutely lost- . It maybe 
faster, it maybe a bit simpler since you only have to learn one language, but 
it's a mental carnage to maintain a client site that way

I Agree with Pete, moving to smarty was the best we could've done.

-- 
__
Vicente Antonio Sánchez Werner ( [EMAIL PROTECTED] )
Fijo: +34-923185650 Movil: +34-66865
Director Depto Informática, Desarrollo y Seguridad Informática
Wap Comunicaciones S.L.
C/Guadalajara nº9-11
37003 Salamanca (España)
--

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] smarty

2004-04-14 Thread Vicente Werner
mmm some points:

1st. Clarity. It's much more clear to me to take a look at a template and 
identify a subsituing variable when it's marked as something different like:
{$var} than the uglyness of ?=$var ? -and if you follo the recommended way: 
?php=$var ?

2nd. As other users pointed, error handling.

3th. Lack of temptation. If I start putting pure php code on my templates it 
wouldn't be long before half the application logic ends there, we'll know 
what's to code under tight schedules. Smarty by separating my presentation 
logic from my bussines logic helps me avoid spaghetti code.

Appart from the ton of small features that smarty gives you like caching, 
easyness to do popups, the variable modificators, etc..

-- 
__
Vicente Antonio Sánchez Werner ( [EMAIL PROTECTED] )
Fijo: +34-923185650 Movil: +34-66865
Director Depto Informática, Desarrollo y Seguridad Informática
Wap Comunicaciones S.L.
C/Guadalajara nº9-11
37003 Salamanca (España)
--

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] How to...

2004-04-06 Thread Vicente Werner
I've already a php function that outputs a file from a folder outside the www 
path to a page, but I can't find a way to do this and then close the window 
where it was outed. Any 1 can point me in the right direction?

Thanks,

Vicente

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] How to...

2004-04-06 Thread Vicente Werner
El Martes, 6 de Abril de 2004 10:13, Burhan Khalid escribió:
 You cannot close the window from within PHP. You have to use client side
 scripting (Javascript).
I've already tried sending :

script language=Javascript
window.close()
/script

Just after echoing the file, but with 0 success.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PDF Creating

2004-03-17 Thread Vicente Werner
We had a similar issue ourselves, we finally solved it using htmldoc to build 
the pdf from a custom html file. It allows you to explicitly say where you 
want to split the document, or to rely upon itself to break the stuff into 
pages.

-- 
__
Vicente Antonio Sánchez Werner ( [EMAIL PROTECTED] )
Fijo: +34-923185650 Movil: +34-66865
Director Depto Informática, Desarrollo y Seguridad Informática
Wap Comunicaciones S.L.
C/Guadalajara nº9-11
37003 Salamanca (España)
--

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php