Breadcrumbs Collector

Acquiring knowledge one crumb at a time

Page 2 of 3

Optimizing MySQL queries

One suboptimal database query can effectively paralyse whole application. Tracking down such bottleneck is one thing but speeding it up is not a trivial task. This article is intended to show how one can analyse and refactor slow database query…. Continue Reading →

Ext Js Pathfinder progress report #7

Today I took care of basic support for windows. They are not very interesting when it comes to interacting with. The only way to do something with them beside moving them around is to close them using icon in the… Continue Reading →

Dive into Python’s asyncio, part 5 – protocols

Protocols are asyncio’s primitives supplied as convenient base classes to quickly set up clients or servers using TCP/UDP (+ subprocesses). These are especially helpful when we need to implement low level handling of protocol of some sort. I believe they… Continue Reading →

Ext Js Pathfinder progress report #6

Ext JS has plenty of components. There are main categories, quite familiar to many people like buttons and less-expected descendants such as split buttons. Split button is a creature that hides a menu – when user clicks an “arrow part”… Continue Reading →

Dive into Python’s asyncio, part 4 – simple chat with Sanic

Let’s roll with something practical, namely a simple chat application using Sanic framework mentioned in previous post. Sanic supports websockets out of the box thanks to the websockets library. It’s super easy to write a handler function by using decorator… Continue Reading →

Ext Js Pathfinder progress report #5

Just a quick update. I solved problems with failing tests after switching to my own example Ext JS page. Apparently, PhantomJS doesn’t like protocol mismatch – I served my page using HTTP, but Ext JS assets were served using Sencha’s… Continue Reading →

Dive into Python’s asyncio, part 3 – web framework

Few days ago while I was reading fullstackpython.com I came across new pythonic micro web framework based on asyncio – Sanic. Coolest thing about Sanic is that it leverages asyncio providing better performance and more efficient hardware utilization. Although it’s… Continue Reading →

Ext Js Pathfinder progress report #4

Today’s note is short. I successfully managed to transition on a custom example page to run tests against. This resulted in much faster execution, however tests are failing due to failure of finding ‘Ext’ object. Unfortunately, reason remains unknown. Possibly,… Continue Reading →

Dive into Python’s asyncio, part 2

All examples were tested under Python 3.6. The only asyncio rule After reading part 1 you should already know, that a heart of asyncio is an event loop. There is exactly one rule – do not block the event loop!… Continue Reading →

Ext Js Pathfinder progress report #3

3rd progress report is under way. So far Ext Js Pathfinder can interact in a limited way with textfields and buttons. But what is it good for, if it lacks a handy set of assertions? Writing ‘classic’ assertions in testing… Continue Reading →

« Older posts Newer posts »

© 2018 Breadcrumbs Collector — Powered by WordPress

Theme by Anders NorenUp ↑