MiServer Version 3 Documentation

MiServer is Dyalog's APL-based web development framework

MiServer Version 3 Documentation

Postby ray on Mon Feb 23, 2015 4:43 pm

Is there any documentation available for Version 3 yet?
Ray Cannon
Please excuse any smelling pisstakes.
User avatar
ray
 
Posts: 221
Joined: Wed Feb 24, 2010 12:24 am
Location: Blackwater, Camberley. UK

Re: MiServer Version 3 Documentation

Postby Fiona|Dyalog on Wed Feb 25, 2015 10:17 am

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.
User avatar
Fiona|Dyalog
 
Posts: 68
Joined: Mon Apr 22, 2013 12:59 pm

Re: MiServer Version 3 Documentation

Postby ray on Wed Jan 06, 2016 3:18 pm

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
Ray Cannon
Please excuse any smelling pisstakes.
User avatar
ray
 
Posts: 221
Joined: Wed Feb 24, 2010 12:24 am
Location: Blackwater, Camberley. UK

Re: MiServer Version 3 Documentation

Postby MBaas on Wed Jan 06, 2016 3:50 pm

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...
User avatar
MBaas
 
Posts: 156
Joined: Thu Oct 16, 2008 1:17 am
Location: Gründau / Germany

Re: MiServer Version 3 Documentation

Postby ray on Sat Apr 16, 2016 5:13 pm

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?
Ray Cannon
Please excuse any smelling pisstakes.
User avatar
ray
 
Posts: 221
Joined: Wed Feb 24, 2010 12:24 am
Location: Blackwater, Camberley. UK

Re: MiServer Version 3 Documentation

Postby Brian|Dyalog on Sat Apr 16, 2016 6:47 pm

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
User avatar
Brian|Dyalog
 
Posts: 116
Joined: Thu Nov 26, 2009 4:02 pm
Location: West Henrietta, NY

Re: MiServer Version 3 Documentation

Postby ray on Mon Apr 18, 2016 1:28 am

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
Ray Cannon
Please excuse any smelling pisstakes.
User avatar
ray
 
Posts: 221
Joined: Wed Feb 24, 2010 12:24 am
Location: Blackwater, Camberley. UK

Re: MiServer Version 3 Documentation

Postby ray on Mon Apr 18, 2016 12:28 pm

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.
Ray Cannon
Please excuse any smelling pisstakes.
User avatar
ray
 
Posts: 221
Joined: Wed Feb 24, 2010 12:24 am
Location: Blackwater, Camberley. UK

Re: MiServer Version 3 Documentation

Postby Brian|Dyalog on Mon Apr 18, 2016 1:33 pm

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
User avatar
Brian|Dyalog
 
Posts: 116
Joined: Thu Nov 26, 2009 4:02 pm
Location: West Henrietta, NY

Re: MiServer Version 3 Documentation

Postby ray on Thu Apr 21, 2016 4:07 pm

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
Ray Cannon
Please excuse any smelling pisstakes.
User avatar
ray
 
Posts: 221
Joined: Wed Feb 24, 2010 12:24 am
Location: Blackwater, Camberley. UK


Return to MiServer

Who is online

Users browsing this forum: No registered users and 1 guest