แสดงบทความที่มีป้ายกำกับ twisted แสดงบทความทั้งหมด
แสดงบทความที่มีป้ายกำกับ twisted แสดงบทความทั้งหมด

วันอาทิตย์ที่ 29 มีนาคม พ.ศ. 2558

Iot with Kivy, Autobahn, Twisted and Crossbar

Kivy is an object programming framework. It's a collection of the python applications together. So everyone can learn Kivy easily!

You need to know about Class!

Kivy is event loop programming. When you understand how event work you can go with many event driven programming.

Twisted -> Autobahn -> Crossbar.io

Twisted is also reactor. It's event loop! Autobahn is web-socket programming framework. Crossbar.io is WAMP router.

All components is event ! Asynchronous Programming!


Let's start :)

Kivy, main application should start with main.py (It's very important). In main.py we create WAMP component here.

วันพฤหัสบดีที่ 15 มกราคม พ.ศ. 2558

Keep Front-end do UI Keep Back-end do Back-end

This article wrote when i finished AngularJS tutorial here (https://docs.angularjs.org/tutorial). It's time,  i need to sit and think about development framework.

1st Django (https://djangoproject.com/) The power of Django is ORM (https://docs.djangoproject.com/en/1.7/topics/db/models/). You can build you own web site with simple great admin interface very easy.

2nd Twisted Matrix (https://twistedmatrix.com/trac/) I love this tutorial (http://krondo.com/?page_id=1327).  Amazing asynchronous programming.

3rd AngularJS.

I would like to say "Keep Django or Twisted do only back-end work and Do amazing User interface with HTML5"



วันอาทิตย์ที่ 26 ตุลาคม พ.ศ. 2557

Learn from both Kivy and Twisted

I, myself searched for many months to see what can i integrate Kivy and Twisted together.

Now my idea is come true.

https://github.com/digitaltrails/piKam

วันอาทิตย์ที่ 5 ตุลาคม พ.ศ. 2557

Another Raspberry PI with Kivy and implementation on Twisted.

I visited this site last month. At that time i did not know how to use it. But now i have any idea to do with this.

please visit this. Then i will do my test.


วันจันทร์ที่ 18 สิงหาคม พ.ศ. 2557

How to understand asyncio from python3 for me?

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

วันเสาร์ที่ 9 สิงหาคม พ.ศ. 2557