News
Home Home Contact us Contact
home News Projects Tests Files Follow manatlan on Twitter Sign in
6 months ago

iBraining in the angular way

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 ;-)

Comments (View) Tags: ibraining, gae
last year

AngularJS + WebApp on mobile platforms

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).

Comments (View) Tags: android, gae
last year

Blind changes

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 ;-)

Comments (View) Tags: gae
4 years ago

Websocket in GAE

It's christmas : Great day for GAE lovers. Channels are available in GAE ! I have played since yesterday : It's amazing, and well integrated.

The SDK provides a javascript lib for the client side (which simulate websocket). But the client can't write into the socket, and need to call serverside thru ajax ;-(. Only the server side can write into it to push data for clients. APIs are low level, server side needs to maintain its clients, thru datastore.

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 !

Comments (View) Tags: gae
4 years ago

Snippets offline and Html5

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.

Comments (View) Tags: gae
4 years ago

Flash will die ... long live to html5 ;-)

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!

Try theses experiments in compatible browsers, or this wonderful NES emulator in full javascript ... Everything seems possible : quake2 in html5 browsers !

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 !!!

Comments (View) Tags: gae
5 years ago

Sending mails to GAE

The new release 1.2.6 of the GAE SDK is out. It brings the receiving mail feature ;-). I could talk to my site by mails, in a natural way (no more use of the great external smtp service). It's a good news !

The other great feature is the app's delete. But I will never use it ;-)

Comments (View) Tags: gae
5 years ago

Talking to my site

In the past, I made a sandy-like robot which worked only by email (thanks to smtp2web service), using google calendar as backend.

In the past few days, I updated the code to let it works with XMPP too (thanks to new xmpp service on GAE). And for the fun, I'd added a http frontend too ;-). Since that, I've made some enhancements to add more commands (WakeOnLan, todo backends, ...), and let it looks like a real good robot.

And now : I can talk to my website (this one), by Email, by XMPP and by HTTP, using this same robot ;-)

In the future, always for the fun, I think I will add a twitter and a google wave backend. It's really interesting ;-)

Comments (View) Tags: gae
5 years ago

New website for jbrout

jBrout has now a new official website. Currently it just contains the content of the old website (french & english content). But it will be easier to maintain, because it now uses GoogleAppEngine using the python language (as Jbrout) (TigerWiki is not supported anymore).

For now, it uses the jbrout news from my main website. So news are only available in "english". But, in the near future, french's news will be available too. You can subscribe to jbrout rss (french rss in the future), to stay tuned.

Comments (View) Tags: jbrout, gae
5 years ago

Big changes in manatlan.com ;-)

Apparently nothing has changed (may be some disturbance now). But a lot of changes was made. I had just migrate all files+models from one appspot-id to another one (At the beginning I couldn't choose "manatlan" as appspot-id ?! Now it works ?!). Files were easily migrated (thanks to gae). But models were more complex, thanks to AEX, it helps me a lot ;-)

BTW, flux.manatlan.com was a subdomain of my old appspot-id (it was very dependant on this website). Now it has its own appspot-id and works alone (with its own cron, taskqueue, and own quotas). It's in beta stage now (use at your own risks).

So, this is the first post (a test ;-)) on my new appspot-id.

Comments (View) Tags: aex, gae
<< oldest

Tags

RSS aex aex
RSS d2 d2
RSS gae gae
RSS go go
RSS ppa ppa
RSS Python Powered Get Ubuntu
©opyleft 2008 - manatlan cmd snippets