Page 1 of 1

MiServer Version 3 Documentation

Posted: Mon Feb 23, 2015 4:43 pm
by ray
Is there any documentation available for Version 3 yet?

Re: MiServer Version 3 Documentation

Posted: Wed Feb 25, 2015 10:17 am
by Fiona|Dyalog
Hi Ray

MiServer 3 has not yet been released - the version that's available on GitHub is a pre-release version. We're expecting to release it (along with the documentation) with Dyalog 14.1 in Q2 2015.

I hope that helps.

Re: MiServer Version 3 Documentation

Posted: Wed Jan 06, 2016 3:18 pm
by ray
I have been looking under https://github.com/Dyalog/MiServer but there is nothing newer (under documentation) than April 2015.

Is there an ETA for MiServer 3 Documentation yet?

Ray

Re: MiServer Version 3 Documentation

Posted: Wed Jan 06, 2016 3:50 pm
by MBaas
Hi Ray,

I've been working with the development-branch since early 2015. Admittedly, it is "Development" and subject to change, and there were 1 or 2 slightly painful changes, but all in all I'd say it is definitely useable for experiments and learning, production-use is not for the faint-hearted ;-)
And the doc there (or on http://miserver.dyalog.com) is steadily improving...

Re: MiServer Version 3 Documentation

Posted: Sat Apr 16, 2016 5:13 pm
by ray
I have been using MiServer 3 since Brian suggested I use it at Eastbourne.

Today I loaded the development version, and every thing stopped working because the miserver name space "_Request" appears not to exist any more.

Since I send all the html to "_Request.Response.HTML", and use _Request.Session to hold all the session variables, this is a rather a catastrophic change!

What is the equivalent namespace now called please?

Re: MiServer Version 3 Documentation

Posted: Sat Apr 16, 2016 6:47 pm
by Brian|Dyalog
Hi Ray,

_Request should be available in any MiPage.
If it's not, perhaps one of the following has happened:
  • the name is somehow localized or shadowed?
  • your page isn't derived at some point from the MiPage class
  • something else I can't think of at the moment :)

If those ideas don't resolve it, feel free to email me directly or send me your MiSite and I can take a look.

/Brian

Re: MiServer Version 3 Documentation

Posted: Mon Apr 18, 2016 1:28 am
by ray
Hi Brian

Thanks for the reply.

I believe the "_Request" problem was that I was using EAWC not MiPage.

Once this was sorted I had a secondary problem because the default extension was changed from ".dyalog" to ".mipage" in the SERVER configuration file.

The change to ".mipage" was automatically picked up and overcome (in Render):
"File not found: "C:\misites\hex/hex.mipage" using "C:\misites\hex/hex.dyalog" instead."
but my APLJax function was now not being called.

Eventually, I changed the default back to ".dyalog", and it all started working again.


Thanks
Ray

Re: MiServer Version 3 Documentation

Posted: Mon Apr 18, 2016 12:28 pm
by ray
I'v just seen Brian's warning in another topic:
>Do not update the files in the MiServer /Config folder. If you do, the next time you update MiServer from the GitHub repository, you'll have conflicts to resolve.

So I have added a Server config file under MiSites with the change from ".MiPage" to ".dyalog" and restored the MiServer copy to that copied from GitHub.

Just out of interest, my "Ants" code is now all working under the BETA version of Dyalog 15.0.

Thanks for all the help.

Re: MiServer Version 3 Documentation

Posted: Mon Apr 18, 2016 1:33 pm
by Brian|Dyalog
Hi Ray,

Are you picking up updates to MiServer from GitHub? https://www.github.com/dyalog/miserver

We've made some internal changes, for instance, we no longer use EAWC as a MiPage template. Instead everything is available from the "_" namespace.

It sounds like with some relatively minor updates you could be running on the latest MiServer code. Feel free to contact me directly if you want some help.

We plan to "officially" release MiServer 3.0 in May (2016 :)) at which point I don't expect any further significant structural or naming changes. We will of course continue to add functionality, mostly in the form of widgets, and continue to add to the documentation.

/Brian

Re: MiServer Version 3 Documentation

Posted: Thu Apr 21, 2016 4:07 pm
by ray
Hi Brian

Yes, I am updating from https://www.github.com/dyalog/miserver.
My last update was on 15/4/2016, but before that it was 9/6/2015!

I see there are a few new updates that I now should pick up.

Good luck with the May release!

Thanks for the help

Ray