Web Framework Discussion

Sorry to resurrect an old thread. I was just looking for a REST API for MakerManger4.

I think this (or a similar project) might be a good solution for quickly and easily providing a REST API for the Calendar and MakerManager. Lots of testing would be needed, but I suspect using it to provide a read-only API would be fairly safe and provide immediate benefits with minimal configuration.

What are your thoughts?

1 Like

The calendar is based on CakePHP …
http://www.bravo-kernel.com/2015/04/how-to-build-a-cakephp-3-rest-api-in-minutes/

Although it may be rewriten in Laravel at some point.

Makermanager 4 is being actively written from scratch using Laravel, primarily by @LukeStrickland

You can find both of them on our GitHub … I’ve been working on the Calendar.

1 Like

I have one project we did in Laravel: Pretty great PHP framework and proud of how it came out for a first project http://grenadierhomes.com

1 Like

Interesting tool. I’ll have to look into it to see where it would help migrate older systems over to my usual Admin-on-Rest and eve-swagger stack.

since Sandman2 is built on top of flask and sqlalchemy I’d suspect that would be easy considering python-eve itself is just an extension to flask with built-in support for sqlalchemy.

Looks good but where you aware that the site takes a full 2.45s to render?

(context for browsing experience: latest chrome, 48Gb Xeon E5-2680, Win Server 2012, speed test results: http://www.speedtest.net/result/7403301821, and Chrome profile data)

The profile data does show that its the images but even the fact that its taking a bit to reach the page render tells me things that one; your server maybe under powered, and two you might be doing server side rendering of the code and that rendering is not cached?

I observed zero delay. Click. New tab opens. Page displays in beautiful technicolor… weird.

Website was instant, primary bg image in hero was slower, but the site content loaded fast so I didn’t care.

When one works with 12 factor based PWA’s built on blazing fast stacks like reach and nodejs where render time is in the <15ms one tends to get spoiled to the point of noticing the little things.

Seriously check out https://ponyfoo.com then hit https://www.squarespace.com or wordpress.com. Its a stark difference between a node.js site and a php site.