Re: LC Server on DreamHost?

2014-11-23 Thread Peter W A Wood
Stephen > On 24 Nov 2014, at 13:28, stephen barncard > wrote: > > On Sun, Nov 23, 2014 at 8:17 PM, Peter W A Wood > wrote: > >> Some time ago, I ran some tests to measure the comparative startup times >> of PHP, LiveCode and HTML on On-rev. The two scripts are simple: >> >>Livecode >

Re: LC Script in PHP File

2014-11-23 Thread Monte Goulding
On 24 Nov 2014, at 3:29 pm, Richard Gaskin wrote: > What would it take to make an Apache module for LiveCode? Apache modules themselves don't look all that complicated. As far as LC goes as long as you don't support threaded mpms it should be largely a matter of handling the request and set

Re: LC Server on DreamHost?

2014-11-23 Thread stephen barncard
On Sun, Nov 23, 2014 at 8:17 PM, Peter W A Wood wrote: > Some time ago, I ran some tests to measure the comparative startup times > of PHP, LiveCode and HTML on On-rev. The two scripts are simple: > > Livecode > I've started" > ?> > > PHP > I've started" > ?> > >

Re: LC Script in PHP File

2014-11-23 Thread Richard Gaskin
Peter Wood wrote: > The performance of LiveCode and  > PHP would be the same if either PHP > was being run in the same fashion as > LiveCode (i.e. using CGI) or there was  > a LiveCode Apache Module. What would it take to make an Apache module for LiveCode?  Richard Gaskin Fourth World Systems ht

Re: LC Server on DreamHost?

2014-11-23 Thread Peter W A Wood
Stephen Some time ago, I ran some tests to measure the comparative startup times of PHP, LiveCode and HTML on On-rev. The two scripts are simple: Livecode I've started" ?> PHP I've started" ?> HTML I've started Trying these simple pages should

Re: LC Server on DreamHost?

2014-11-23 Thread stephen barncard
would you consider this script to be comparative to the "complexity" of phpInfo() ? anyway I don't think the slowdown I'm seeing at Dreamhost would be caught in this benchmark. Once LC is loaded, it quite speedy. But on the server it has to restart for every page load. my livecode test script wa

Comparison of Speed of LiveCode with PHP

2014-11-23 Thread Peter W A Wood
In a previous email Richard Gaskin, the LiveCode Community Manager, wrote "Given the role of memory and performance for scaling, if we want to see LC Server taken seriously as a professional server tool we need to identify and eliminate any significant performance difference between it and PHP.”

Re: LC Script in PHP File

2014-11-23 Thread Peter W A Wood
Richard As Simon mentioned, “calling” a LiveCode function by running a cgi script will be slower than a simple function call. Running a very simple LiveCode cgi script takes a few hundred milliseconds. A function call will take a few milliseconds. On my machine, which has a solid-state drive,

Re: LC Script in PHP File

2014-11-23 Thread Simon Smith
I just think Peter means that there would be an additional step in the process - instead of executing a single script, you are executing 2. On Sun, Nov 23, 2014 at 7:45 PM, Richard Gaskin wrote: > Peter W A Wood wrote: > > You should be able to use file_get_contents in PHP to do what you > > wan

Re: LC Script in PHP File

2014-11-23 Thread Richard Gaskin
Peter W A Wood wrote: > You should be able to use file_get_contents in PHP to do what you > want. Though it will take longer to get the results from LiveCode > than it would from PHP. Why would that be? In general (and pre-7.0) LC used to perform roughly on par with PHP. Where has it fallen dow

Re: LC Script in PHP File

2014-11-23 Thread Nakia Brewer
Okay, this seems to make sense. Thanks for your help, I'll give it a go tomorrow.. I'm slowly getting there with PHP, it's just taking a little longer than it took me to pick up LC... Nakia Brewer | Technology & Solutions Manager | Equipment Management Solutions t: (02) 49645051 m: 0458 713 5

Re: Stack Menu Mystery - Disappointing Documentation (Long, sorry)

2014-11-23 Thread Graham Samuel
Bug 14082 - BTW, I don’t regard the entry as actually erroneous, just incomplete and misleading! Graham > On 22 Nov 2014, at 21:27, Graham Samuel wrote: > > OK will do. > > G > > Sent from my iPad > >> On 22 Nov 2014, at 17:19, Richard Gaskin wrote: >> >> Graham Samuel wrote: >> >>> Tha

Re: [OT] Android Material Design

2014-11-23 Thread Dave Kilroy
Yep 'material design' IS nice and can accessed on browsers via Google Polymer http://itshackademic.com/ - and there are some nice tutorials here http://itshackademic.com/codelabs I understand Mozilla has a similar project called 'brick' (http://brick.mozilla.io/) - but I've never played with brick

Re: LC Script in PHP File

2014-11-23 Thread jbv
Hi You can also use the curl function if your LC script is located on a server : $data = 'http://myDomain/lc/myLCscript.lc?a=' . $myVar; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $data); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $output = curl_exec($ch); curl_close($ch); I