httpd library and missed opportunity.

Alex Tweedly alex at tweedly.net
Tue Aug 1 20:36:52 EDT 2017


The 'test' button is handy - but it's not the only way.
In fact, I rarely use it - I build my standalones, then try it out on 2 
or 3 platforms (OK, this may be very untypical, because I am just 
starting to play with mobile and html5 ... but I suspect it will 
continue to be a viable work-flow - if only because of frequent 
interruptions, etc.) So I would hope to be able to run the server,  and 
then make multiple tests with a single standalone.

You said "[HTTPd library] ...  now that we have one included in the IDE 
we ...". So is it the intention that this library is only available in 
the IDE, and won't be available for inclusion in a standalone, or for 
use from LCServer ?  (I can't see it in the list of inclusions in the 
SB, unlike diff, getopt, etc. - though that list is getting long enough 
that scrolling through it to see if something is there or not is 
becoming  inexact).

Alex.

On 02/08/2017 01:13, Monte Goulding via use-livecode wrote:
>> On 2 Aug 2017, at 7:16 am, Alex Tweedly via use-livecode <use-livecode at lists.runrev.com> wrote:
>>
>>> python -m SimpleHTTPServer 8080
>>> This will let you access your standalone by opening your web browser and visiting http://localhost:8080 <http://localhost:8080/>.
>>>
>> What ?  IMO, this is just plain "wrong".
> I think there’s a couple of things here. The scope of the original HTML5 implementation did not include writing a HTTP server in LCS. It was before my time at the company but I believe a significant proportion of the project was Peter’s first thing he did in LC and he probably wasn’t aware of the fact there’s a few HTTPd implementations around the community. Anyway, now that we have one included in the IDE we definitely want to implement a deploy library so that you just need to click the Test button and it will pop up in your browser. Bonus points for being able to add extra browsers so you can choose a target.
>
> I create a report about this a while back http://quality.livecode.com/show_bug.cgi?id=19909 <http://quality.livecode.com/show_bug.cgi?id=19909>
>
> Anyway, this could either be contributed by someone in the community or done in house when we get a chance.
>
> Cheers
>
> Monte
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode






More information about the Use-livecode mailing list