Re: [PHP] Open source project management tool - PHP

2009-12-17 Thread Joseph Masoud
On 17 Dec 2009, at 10:24, Angelo Zanetti ang...@elemental.co.za  
wrote:



Hi guys

I would like to know what open source project management tools you  
use for

your projects.

We are looking at installing one that is PHP based and is easy to use.

We have found:

http://www.projectpier.org/

and

http://trac.edgewall.org/


Has anyone used the above and how did you find them? Also are there  
any

others you would recommend or not recommend and why?

Thanks in advance.

Regards
Angelo

http://www.wapit.co.za
http://www.elemental.co.za




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

Trac is not actually PHP based, it is coded in Python.  I used  it for  
roughly 2 months before jumping ship.  There was nothing wrong with  
it.  I simply found a more suitable solution for my projects.


I use Eventum for bug tracking.  It's the system the MySQL development  
team use.  It uses PHP and MySQL as standard.  Took me under 15  
minutes to set it up (after reading the manual). I didn't have any set- 
up problems.


For source control, I recommend you consider implementing a continuous  
integration platform like cruise control for PHP.


For team communications, the non-technical staff were significantly  
happier using Elgg (an open source social networking platform) over  
the Trac wiki and MoinMoin wiki.


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



Re: [PHP] Best ajax library

2009-12-15 Thread Joseph Masoud
On 15 Dec 2009, at 08:50, Ali Asghar Toraby Parizy aliasghar.tor...@gmail.com 
 wrote:



Which one is more active than others? I mean which project extends
faster and better, in future?

On Tue, Dec 15, 2009 at 1:37 AM, Philip Thompson philthath...@gmail.com 
 wrote:

On Dec 14, 2009, at 4:27 AM, Ali Asghar Toraby Parizy wrote:


Hi
I think the best choice is jquery until now.
But, is it reasonable to combine jquery and other library to client
side and server side scripting respectively?
By the way, where i can find good lessons about jquery and php?


I really like this js library.

http://mootools.net/

It's based off of jquery or prototype... I can't remember.

~Philip

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




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

JQuery and Mootools are two very different approaches of creating a  
JavaScript framework. Both shine in different ways.


I use JQuery when I want to get things done quickly (using the Yii  
framework or on custom projects).  I use mootols when I develop  
Joomla! Extensions and it's amazing.  Which is more suitable boils  
down to what your project needs.


I'm messing around with Ext at the moment and it's really nice too!

The ultimate answer to your question is; it depends. 
  


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



Re: [PHP] MySQL Appeal from Monty

2009-12-14 Thread Joseph Masoud
On 14 Dec 2009, at 22:01, Ashley Sheridan a...@ashleysheridan.co.uk  
wrote:



On Mon, 2009-12-14 at 15:59 -0600, Philip Thompson wrote:


On Dec 14, 2009, at 12:51 AM, Lester Caine wrote:


Lenin wrote:

You might also like this:
Come on Monty - Lukas Smith http://bit.ly/5lmwwD


I've been watching some of this debate with interest, but I'll  
stay with a database that has none of the baggage that MySQL has  
always had, and IS currently replacing Oracle in many large sites :)


--
Lester Caine - G8HFL


Do share your db of interest... (and please don't say MSSQL).

~Philip





MSSQL has nearly brought me to tears and could have easily made me  
bald

through hair pulling!

I have to say, I do like MySQL, it's very flexible and fast, and being
able to choose different storage engines for different tables in the
same DB is brilliant! I really don't think there's anything to overly
worry about from Oracle, as the two DB's have different audiences.

Thanks,
Ash
http://www.ashleysheridan.co.uk


Unfortunately, I do not share your optimism.  I believe that Oracle  
taking over MySQL would be a disaster of epic proportions.


The different audiences theory has been bought up several times but  
I haven't [to date] seen a sound justification for it. Oracle wants  
everyone to use ... Oracle, I can't see how this different audiences  
theory is going to make Oracle promote MySQL, perhaps someone can tell  
me?


I don't think the EU would be able to do anything about it.  The  
powerful companies almost always get what they want.


I don't think Monty wouldn't be doing this unless he felt that  
something [put mildly] bad is coming.


What has happened, has happened.  Trying to figure out who is to blame  
for this mess is pointless. Ideally, It would be nice if Oracle took  
its claws off MySQL and found another project to ruin.


Note: I am *not* trying to spread FUD

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



Re: [PHP] Re: What method is best for generating thumbnails in PHP from PDF's?

2009-11-12 Thread Joseph Masoud

 On 12/11/09 17:44, O. Lavell wrote:

Chris Payne wrote:


Hi Everyone,

I have been asked to create thumbnails from the first page of a PDF
document on the fly with PHP, I have looked online but am confused as
there doesn't seem 1 simple solution.

What would you all recommend as an easy way to do this?

Any help would be really appreciated.

I think I would just call an external program to do it, like convert
from Image Magick:

exec(convert -thumbnail 300x300 document001.pdf[0] thumbnail001.png);


If you're going to use ImageMagick, make sure you have the latest 
ghostscript library, otherwise not all thumbnails will render properly.


I don't recommend CentOS for this task.  If this is your server OS, I 
recommend considering this rpm:


http://www.clearfield.com/ghostscript.8.64/ghostscript.html

Good luck.

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



Re: [PHP] How to pronounce PHP code over the phone?

2009-10-16 Thread Joseph Masoud

Robert Cummings wrote:

Bob McConnell wrote:

From: tedd


At 4:51 PM +0100 10/16/09, Ashley Sheridan wrote:

On Fri, 2009-10-16 at 17:46 +0200, Dotan Cohen wrote:


 How would you read this out loud if you were to read it to someone
 over  the phone?

 ($item-getServiceId() ? $item-getServiceId() : $item-getId(;



Wow! Here goes:

Open-bracket,
No, that's not an open bracket -- that's an open parenthesis or 
paren for short.


An open bracket is [

An open curly brace is {



That depends on which edition of English you use. Take a look at the
definition of bracket in Wikipedia. What you call a parenthesis is
called a bracket in England and parts of Canada, as well as elsewhere.
They specify square bracket for the second one. I stumbled on this one
in another mailing list a few years ago.


Bracket... two syllables and ambiguous.

Round Brace... two syllables and not ambiguous.

For terse clarity use the following:

- round brace
- square brace
- curly brace
- angle brace

:)

Cheers,
Rob.
Have you thought about using instant messaging?  How about sending the 
code to him via text message?  Putting it on a pastie or on code pad? 
IRC, sFTP, SSH, you see, in the 21st century, there exists a plethora of 
solutions to circumvent this particular issue.


I would be interested in finding out how the OP ended up having 
absolutely no option but to pass code to another Homo Sapien verbally?  
Unless you managed to cripple your system and disconnect your company 
from the internet, surely, it would have been faster (and easier) using 
the methods above rather than trying to spell it out over the phone.


In any case, I would say:

Call the getServiceId method of the $item object and make that the 
condition of a ternary opertor, if true, call the method again, 
otherwise call the getId method of the $item object


I'm guessing the reason you were on the phone to him/her was because 
your parentheses don't match ... but that's a different story I guess.


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



Re: [PHP] Wrong Date

2009-10-16 Thread Joseph Masoud

Darvin Denmian wrote:

Thanks for your reply

- I'm running Red Hat Linux (5.3)
- The system timezone is set to America/Sao_Paulo

I'm running a stand-alone php script (crontab) , and I don't know how PHP
output this wrong hour.

The output of command php -i  shows:

Default timezone = America/Sao_Paulo

I don't know what to do  :(

Thanks !




On Fri, Oct 16, 2009 at 2:14 PM, Thodoris t...@kinetix.gr wrote:
  

Hello,

My currently timezone is set to : America/Sao_Paulo
My currently date/time is ok: Fri Oct 16 13:04:45 BRT 2009
But when I execute echo date(d/m/Y H:i:s); the output presented
have +1 hour

Bellow [date] of php.ini:

date

date/time support = enabled
Olson Timezone Database Version = 2008.2
Timezone Database = internal
Default timezone = America/Sao_Paulo

Directive = Local Value = Master Value
date.default_latitude = 31.7667 = 31.7667
date.default_longitude = 35.2333 = 35.2333
date.sunrise_zenith = 90.58 = 90.58
date.sunset_zenith = 90.58 = 90.58
date.timezone = no value = no value


Thanks


  

Assuming you have a unix-like OS and the timezone you mention is set to the
system clock I will have to guess that PHP uses different zone from the
system.

Try setting the date.timezone setting in your php.ini and see what happens
(don't forget to restart the web server to make changes take effect) or use
the ini_set().

--
Thodoris





  

1. It is possible that the php.ini files are different.
2. Run phpinfo() to check where the php.ini file your web server uses is 
located.

3. Check that the timezone settings are correct.

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