From: Scott M. <sco...@gm...> - 2011-02-22 20:40:54
|
I've got other issues with the 2.0 demo too. I don't have the newest php versions, so json is not part of the default php installation. Is the functionality provided by json_encode within the client_proj_task_javascript files the only way to do whatever it is doing? (I haven't yet attempted to dig into it) If not, can we provide another way for those with older PHP installations? -Scott |
From: Mark W. <ma...@rw...> - 2011-02-23 02:35:44
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body text="#000000" bgcolor="#ffffff"> Hmmm<br> <br> Javascript Object Notation (JSON) is a really powerful way of moving data from php to javascript and back again.<br> <br> I hadn't realised it was also relatively new. I googled it and came across this:<br> <br> <a class="moz-txt-link-freetext" href="http://www.epigroove.com/posts/97/how_to_use_json_in_php_4_or_php_51x">http://www.epigroove.com/posts/97/how_to_use_json_in_php_4_or_php_51x</a><br> <br> Mark<br> <pre class="moz-signature" cols="72">_____________________________________________ Mob: 07725 695178 Email: <a class="moz-txt-link-abbreviated" href="mailto:ma...@rw...">ma...@rw...</a></pre> <br> On 22/02/2011 20:39, Scott Miller wrote: <blockquote cite="mid:AANLkTimvDBN=T4E...@ma..." type="cite">I've got other issues with the 2.0 demo too. I don't have the newest php versions, so json is not part of the default php installation.<br> <br> Is the functionality provided by json_encode within the client_proj_task_javascript files the only way to do whatever it is doing? (I haven't yet attempted to dig into it)<br> <br> If not, can we provide another way for those with older PHP installations?<br> <br> -Scott<br> <pre wrap=""> <fieldset class="mimeAttachmentHeader"></fieldset> ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. <a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/splunk-dev2dev">http://p.sf.net/sfu/splunk-dev2dev</a> </pre> <pre wrap=""> <fieldset class="mimeAttachmentHeader"></fieldset> _______________________________________________ Tsheetx-developers mailing list <a class="moz-txt-link-abbreviated" href="mailto:Tsh...@li...">Tsh...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/tsheetx-developers">https://lists.sourceforge.net/lists/listinfo/tsheetx-developers</a> </pre> </blockquote> </body> </html> |
From: Mark W. <ma...@rw...> - 2011-02-23 02:59:19
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body text="#000000" bgcolor="#ffffff"> This may also worthwhile looking at:<br> <br> <a class="moz-txt-link-freetext" href="http://snipplr.com/view/4964/emulate-php-5-for-backwards-compatibility/">http://snipplr.com/view/4964/emulate-php-5-for-backwards-compatibility/</a><br> <pre class="moz-signature" cols="72">_____________________________________________ Mob: 07725 695178 Email: <a class="moz-txt-link-abbreviated" href="mailto:ma...@rw...">ma...@rw...</a></pre> <br> On 22/02/2011 20:39, Scott Miller wrote: <blockquote cite="mid:AANLkTimvDBN=T4E...@ma..." type="cite">I've got other issues with the 2.0 demo too. I don't have the newest php versions, so json is not part of the default php installation.<br> <br> Is the functionality provided by json_encode within the client_proj_task_javascript files the only way to do whatever it is doing? (I haven't yet attempted to dig into it)<br> <br> If not, can we provide another way for those with older PHP installations?<br> <br> -Scott<br> <pre wrap=""> <fieldset class="mimeAttachmentHeader"></fieldset> ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. <a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/splunk-dev2dev">http://p.sf.net/sfu/splunk-dev2dev</a> </pre> <pre wrap=""> <fieldset class="mimeAttachmentHeader"></fieldset> _______________________________________________ Tsheetx-developers mailing list <a class="moz-txt-link-abbreviated" href="mailto:Tsh...@li...">Tsh...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/tsheetx-developers">https://lists.sourceforge.net/lists/listinfo/tsheetx-developers</a> </pre> </blockquote> </body> </html> |
From: Scott M. <sco...@gm...> - 2011-02-23 14:56:55
|
Ah, yes, adding some if function exists stuff would be perfect; and I agree with 5.1+ being a valid target. -Scott On Wed, Feb 23, 2011 at 11:45 AM, Mark Wrightson <ma...@rw...>wrote: > At the moment I am working on php 5.3.2 but my hosting company is: > Centos, i686, Cpanel, php 5.2.9 > I don't see any reason why we can't say php 5.1+ and make sure the code > works. > The error_get_last bit is only there to report a fatal error to the screen > in a formatted way (and logged in the future) > Some if(function_exists())) could be added for backwards compatibility. > Similarly with json_encode either we can package the pear files into our > software or just use the version in the snipplr link below. > > Mark > > _____________________________________________ > > Mob: 07725 695178 > Email: ma...@rw... > > > On 23/02/2011 06:27, Scott Miller wrote: > > Ah, wow, I'd thought the error thing may have been an over site, something > forgotten. I didn't realize how many new features had been added to php. > Relying on the newest and greatest functions, while fun, usually means that > many will be unable to use that version for about, oh, two years is my > guess. Whenever Centos/Redhat offer php5.2 as part of the base system, and > then add about 18 months for the powers that be in semi-conservative shops > to allow wholesale upgrading of systems. Really conservative shops may still > be running redhat 7... Course all my conjecture is linux based; my world so > to speak. > > So, do we, as developers, need to use this new functionality now, or can we > plan to use it, but use whatever the old system used to do whatever function > the new stuff now does until the world catches up a little? > > Regarding json, I'd read up enough to get it installed via pear on my > centos system, so, I'm able to test the system more... > > I'm heading to bed; have a good morning, I'll be emailing you again > probably mid afternoon your time :-) > > -Scott > > On Tue, Feb 22, 2011 at 8:59 PM, Mark Wrightson <ma...@rw...>wrote: > >> This may also worthwhile looking at: >> >> http://snipplr.com/view/4964/emulate-php-5-for-backwards-compatibility/ >> >> _____________________________________________ >> >> Mob: 07725 695178 >> Email: ma...@rw... >> >> >> On 22/02/2011 20:39, Scott Miller wrote: >> >> I've got other issues with the 2.0 demo too. I don't have the newest >> php versions, so json is not part of the default php installation. >> >> Is the functionality provided by json_encode within the >> client_proj_task_javascript files the only way to do whatever it is doing? >> (I haven't yet attempted to dig into it) >> >> If not, can we provide another way for those with older PHP installations? >> >> -Scott >> >> >> ------------------------------------------------------------------------------ >> Free Software Download: Index, Search & Analyze Logs and other IT data in >> Real-Time with Splunk. Collect, index and harness all the fast moving IT data >> generated by your applications, servers and devices whether physical, virtual >> or in the cloud. Deliver compliance at lower cost and gain new business >> insights. http://p.sf.net/sfu/splunk-dev2dev >> >> >> _______________________________________________ >> Tsheetx-developers mailing lis...@li...https://lists.sourceforge.net/lists/listinfo/tsheetx-developers >> >> >> >> ------------------------------------------------------------------------------ >> Free Software Download: Index, Search & Analyze Logs and other IT data in >> Real-Time with Splunk. Collect, index and harness all the fast moving IT >> data >> generated by your applications, servers and devices whether physical, >> virtual >> or in the cloud. Deliver compliance at lower cost and gain new business >> insights. http://p.sf.net/sfu/splunk-dev2dev >> _______________________________________________ >> Tsheetx-developers mailing list >> Tsh...@li... >> https://lists.sourceforge.net/lists/listinfo/tsheetx-developers >> >> > |
From: David T. <tom...@us...> - 2011-02-23 16:55:02
|
I think we had this discussion before (regarding the timezone/locale functions). "Whatever version is in the latest Ubuntu" seemed to be the best bet. Anyone know? Date: Wed, 23 Feb 2011 14:56:13 +0000 From: sco...@gm... To: ma...@rw...; tsh...@li... Subject: Re: [Tsheetx-developers] php 5.1.6 - json_encode function doesn't exist Ah, yes, adding some if function exists stuff would be perfect; and I agree with 5.1+ being a valid target. -Scott On Wed, Feb 23, 2011 at 11:45 AM, Mark Wrightson <ma...@rw...> wrote: At the moment I am working on php 5.3.2 but my hosting company is: Centos, i686, Cpanel, php 5.2.9 I don't see any reason why we can't say php 5.1+ and make sure the code works. The error_get_last bit is only there to report a fatal error to the screen in a formatted way (and logged in the future) Some if(function_exists())) could be added for backwards compatibility. Similarly with json_encode either we can package the pear files into our software or just use the version in the snipplr link below. Mark _____________________________________________ Mob: 07725 695178 Email: ma...@rw... On 23/02/2011 06:27, Scott Miller wrote: Ah, wow, I'd thought the error thing may have been an over site, something forgotten. I didn't realize how many new features had been added to php. Relying on the newest and greatest functions, while fun, usually means that many will be unable to use that version for about, oh, two years is my guess. Whenever Centos/Redhat offer php5.2 as part of the base system, and then add about 18 months for the powers that be in semi-conservative shops to allow wholesale upgrading of systems. Really conservative shops may still be running redhat 7... Course all my conjecture is linux based; my world so to speak. So, do we, as developers, need to use this new functionality now, or can we plan to use it, but use whatever the old system used to do whatever function the new stuff now does until the world catches up a little? Regarding json, I'd read up enough to get it installed via pear on my centos system, so, I'm able to test the system more... I'm heading to bed; have a good morning, I'll be emailing you again probably mid afternoon your time :-) -Scott On Tue, Feb 22, 2011 at 8:59 PM, Mark Wrightson <ma...@rw...> wrote: This may also worthwhile looking at: http://snipplr.com/view/4964/emulate-php-5-for-backwards-compatibility/ _____________________________________________ Mob: 07725 695178 Email: ma...@rw... On 22/02/2011 20:39, Scott Miller wrote: I've got other issues with the 2.0 demo too. I don't have the newest php versions, so json is not part of the default php installation. Is the functionality provided by json_encode within the client_proj_task_javascript files the only way to do whatever it is doing? (I haven't yet attempted to dig into it) If not, can we provide another way for those with older PHP installations? -Scott ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Tsheetx-developers mailing list Tsh...@li... https://lists.sourceforge.net/lists/listinfo/tsheetx-developers ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Tsheetx-developers mailing list Tsh...@li... https://lists.sourceforge.net/lists/listinfo/tsheetx-developers ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Tsheetx-developers mailing list Tsh...@li... https://lists.sourceforge.net/lists/listinfo/tsheetx-developers |