Nobody was waiting for it (except me ;-) )
pye is just the main tool I use, for 8years, to develop things on the web. I always wanted to share it to the world... and now : it's real !
It's now a Docker Image named 'pye', based on the github pye !
It's wildly simpler to release it like that, because It can be tested/runned in seconds. Without a docker image, I should have to write a lot of docs to setup the full stack, and It could be very difficult to reach to run it. Here : it just works ... in a near perfect container. Multiprocessed with gunicorn, multithreaded(ASGI) with uvicorn/uvloop ... and all the stack to be able to compile vuejs python components, develop fastapi ressources, use websockets with IPC, etc ... in a "convenient" web editor.
BTW, the pye app code is "AS IS"; I use it "as this" on my nas, on my gae accounts, on my hostings providers (and can transfer app from one to others without pain). (I ddon't use the docker version yet .... but will !)
But for sure, there miss A LOT of docs, to be able, to anybody, to understand all the features added during 8years.
Tags: pye, gae
If you see that, you are on my new hosting service (thanks alwaysdata.com !)
After many years on GoogleAppEngine : I leave ;-)
Like I said in the previous post, py3/gae is no more an option. It's a lot more expensive than the py2/gae. This website has a little traffic, and it runned well on py2/gae, under free quotas. Now, in its py3 version, it's more than $40/month ! Don't want to come back to py2 : so no other option than migrate to another hosting provider, with free quotas.
It's done, easily (thanks to pye) ! Just copied/pasted the files, and migrate my db from gcloud datastore to simple yaml files ;-)
BTW, I certainly won't release ibraining (new version) on gae/py3 ... I stop the process. I will need to find another provider too ;-)
EDIT 2019-01-03 : Everythings seems to work, and jbrout has reached its original hosting domain : jbrout.manatlan.com !
Tags: gae, ibraining
Happy new year 2019 ...
My new year has made a faulty start ;-) Just got the first fully facture, from Google, for this website !
December 2018 was more than 42$ ... ouchhhhh !
So I will block the facturation, and this site will be available only when under quotas ;-)
Sorry for that, but I couldn't spend this each month ;-)
BTW, this site will quit GAE soon, for a cheaper hosting service ;-)
Til that, it will be available randomly, really sorry (but I don't want to put ads to pay the traffic) ;-(
Big news ;-)
"Thanks to everyone for your feedback. We recognize the importance of App Engine support for WebSockets and are actively working on implementing this feature."
7 years later ;-)
I'm totally mad ... I recode iBraining from scratch. This is a big job ;-)
It was coded with GAE/python25/webpy/mako/html4/jquery ... I go with GAE/python27/bottle/html5/angularjs. And it will target desktop and smart devices.
But i'm really a big fan of AngularJS, and can't imagine to continue without it ;-)
Tags: ibraining, gae, angular
Since my last post about android dev, times have changed ;-). I've made two mainstream apps. The last one reach the place #78 of the "top new free" on the playStore, during 1 day ;-)
Native apps are "fun" to developp, except the fact that I've never used newest widgets/api, cause I was targeting a large panel of android's versions. I've played a lot with Eclipse Env, and the play store console. It's amazing, but it's definitively not my cup of tea. What a pain to write so many boilerplate lines of code to make a so simple httprequest (java pain), or to parse a json object !
So, I'm back in the web development. I found something that is really interesting (and it sweet my needs), because it can cover every (html5-)platforms ;-)
Here is a recipe :
- Take a good cloud platform, like GAE, to serve a website.
- Code your backends using httprequests/json(p), in the CRUD style
- Make your website with main html5 features : appcache, localStorage, canvas, workers, etc ...
- Use and abuse of AngularJS in your html5 pages, to make a rich client side easily.
- Code your look'n'feel with responsive design patterns (and css3), to adapt your screen to yours audiences.
- Optionally, make phonegap bootstraps, to give better experience on some devices (ex: android, to remove the navigation bar of chrome ;-) )
- Optionally, you can have access to peripherals thru phonegap/cordova.js.
So you can make (web)apps, which work offline (using localstorage) or online (using your json backends), which work on every platforms in the same manner, which are easier to re-deploy. Everything is not perfect yet, but it's definitively the way to go. Thanks to angularjs which provide a simple way (MVC) to create complex objects to interact with users (it's the perfect approach, while waiting for the webcomponents).
Tags: android, gae, angular
I've just migrated this account in HRD(High-Replication datastore) and python2.7 on GAE ! It takes me 2hours, with heavy sweating ;-)
You don't see the changes. But there is a lot of WSGI apps under my domain (and subs), with a lot of frameworks : aeweb, webpy, bottle, ... and templates engines ;-). It was hard to dive in my old one (aeweb) ;-)
BTW, the migration process is fairly well explained. The next one will be ibraining.com.
So I will continue to test ...
BTW2, I really should update the look ;-)
It's christmas : Great day for GAE lovers. Channels are available in GAE ! I have played since yesterday : It's amazing, and well integrated.
I can start to implement web game in atomic bombers
EDIT : It seems it's not real websocket (to be able to work on every browsers, or because html5 specs is not really finnished). But it works like. Currently the JS SDK do polling for you ;-(. Hope the real websocket will be available soon !
I'm a big fan of snippets concepts ;-). I'd always used snippets web sites. I'd started with dzone. I'd switched to friendsnippets.com. But this last one is dead ... and I'd switched to snipplr.com, which is a great service (with lot of external tools, and great api). But I always needed to developp my own backends, to use them offline (komodo snippets file, gsnip (popup menu for inserting snippets in an editor), html file, xmpp/mail bot...).
Now, it's over ;-) I had switched to my own, which is a app engine website, which works online and offline, and sync enabled (thanks to newest html5 features). No need to say that it fits my needs. My snippets will always be available, at least, for me ;-) ... There is now a "snippets link" at the bottom of my website.
I don't know if I will get the force to make it available for everyone too. But it's perfect for me.
These last days, I'm playing a lot with HTML5 features. And I really believe/hope that Adobe Flash will die. Some news like that or that go in the same way. Video platforms are on the good way, see youtube or dailymotion!
Websocket, webworkers and offline features are others great html5 features, to be able to replace flash ! (others html5 features on html5demos)
I play a lot with websockets in eventlet, but nothing to present here, because I'm waiting for the GAE support ;-) (don't want to setup an external websocket server). But it's really amazing to be able to communicate in the 2 ways !
I've made a little game : cavepilot using canvas (my record is 44seconds, and yours ?)! In the future, I'd like to make it two players with websocket support.
And a fun thing to make orbits !!!