It is not easy for someone who is coding with synchronous applications before. For me, luckily i was learn from twisted matrix for a while.
So i read many from twisted and more on tonado framework. Then asyncio is very interesting to learn.
Please visit http://www.getoffmalawn.com/blog/playing-with-asyncio
I wish twisted will going to get asyncio from python3 as soon as.
updated: 20 Aug 2014
More documentation here http://www.drdobbs.com/open-source/the-new-asyncio-module-in-python-34-even/240168401?queryText=The%2BNew%2Basyncio%2BModule%2Bin%2BPython%2B3.4
update: 21 Aug 2014
Any twisted very briefly can be found here. http://www.aosabook.org/en/twisted.html
update: 29 Aug 2014
asyncio will avoid the "series of asynchronous callback chain."
วันจันทร์ที่ 18 สิงหาคม พ.ศ. 2557
วันเสาร์ที่ 16 สิงหาคม พ.ศ. 2557
Asynchronous solve the asynchronous problems
When people start to learn about asynchronous problems. I thing! easy way to learn it from problem.
The Asynchronous Problem has to be solved with asynchronous way.
Please have a seat at this video.
http://www.youtube.com/watch?v=9WV7juNmyE8
The Asynchronous Problem has to be solved with asynchronous way.
Please have a seat at this video.
http://www.youtube.com/watch?v=9WV7juNmyE8
วันพฤหัสบดีที่ 14 สิงหาคม พ.ศ. 2557
Twisted Way!
Even it's not easy for me to understand. But i will try https://glyph.twistedmatrix.com/2012/12/the-twisted-way.html
When you look for it, there is nothing to see.
When you listen for it, there is nothing to hear.
When you use it, it is inexhaustible.
When you listen for it, there is nothing to hear.
When you use it, it is inexhaustible.
วันเสาร์ที่ 9 สิงหาคม พ.ศ. 2557
The same topic with difference chapter.
Began with Twisted then Kivy event loop and Python3 Asyncio. The application development are going to change again.
The time for Asynchronous Ages has begun.
The time for Asynchronous Ages has begun.
วันเสาร์ที่ 26 กรกฎาคม พ.ศ. 2557
Kivy, another UIX for new device.
Long time on web application development. First we thought web application can easy to deploy on many operating systems and devices.
Some use java applet, flash. But when the applications are more complicated. The better way to do is going back to server side again. Then we began to use java script to do client functions. Javascript framework are continue developing. We've switch to new framework over and over because we need the simple usage that hide the complex of javascript behind.
When personal devices are popular. Most of users use web browser do some general purpose, like searching. Developer do responsive UI for many kind of screen width. Many standard come out like HTML5. But it is 1 step behind user need.
After a few months with Kivy. The development for myself is changed.
Web is only is web, high-level of networks, data infrastructure. We going to use web-service to scales our application and support many kind of devices.
So i going to use Framework like Kivy to change the way.
Please try..
Webpy, Flask, Django, Tornado Web, Kivy
Then i live with Python.:)
Some use java applet, flash. But when the applications are more complicated. The better way to do is going back to server side again. Then we began to use java script to do client functions. Javascript framework are continue developing. We've switch to new framework over and over because we need the simple usage that hide the complex of javascript behind.
When personal devices are popular. Most of users use web browser do some general purpose, like searching. Developer do responsive UI for many kind of screen width. Many standard come out like HTML5. But it is 1 step behind user need.
After a few months with Kivy. The development for myself is changed.
Web is only is web, high-level of networks, data infrastructure. We going to use web-service to scales our application and support many kind of devices.
So i going to use Framework like Kivy to change the way.
Please try..
Webpy, Flask, Django, Tornado Web, Kivy
Then i live with Python.:)
วันศุกร์ที่ 11 กรกฎาคม พ.ศ. 2557
Embed Chromium
This is only my short note.
https://code.google.com/p/chromiumembedded/
https://code.google.com/p/chromiumembedded/
วันเสาร์ที่ 5 กรกฎาคม พ.ศ. 2557
Why Python?
Many people ask me about this question!
My answer is "It's easy"
I, personally grew with C before and try to do next with Java, Then do more big projects with PHP.
But meanwhile i often use Python.
Someone ask me to go to Ruby. But as my answer I'm lazy to go to Ruby.
Python, for me is more fun. I can extend my new job base on Python!
.
My answer is "It's easy"
I, personally grew with C before and try to do next with Java, Then do more big projects with PHP.
But meanwhile i often use Python.
Someone ask me to go to Ruby. But as my answer I'm lazy to go to Ruby.
Python, for me is more fun. I can extend my new job base on Python!
.
สมัครสมาชิก:
บทความ (Atom)