Yii2 component: yii2-gon. Push variables from PHP to JS.

This component publishes json serialisable data as 'key -> value' from PHP code into global JS variable window.gon.

Why?

The need for such an extensions came while working on web apps with mixed approach: rich JavaScript GUI on web page, but each page is reloaded and most of bussiness logic is still on the backend side.

The simples solution for a quick prototyping is pushing a data from PHP controller to global JS variable. That makes you free from a lot of REST API getters (you can make a lot without an API at all). So I did the first protype of this extension during "EU Web Challenge 2015" tasks coding. And now publish it as a standalone package.

Idea is inspired by Ruby gem gon https://github.com/gazay/gon (the name is taken from it too. "GON" authors - in case of any naming issues, just ping me :))


Read more ...

Local tunnels. Exposes your localhost dev server to global internet.

The solution for a question "how do I expose a local server behind a NAT or firewall to the internet?". Literally when your dev machine does not have a dedicated IP, but you need to...

  • make a demo of localhost web app (and can not deploy it to some server)
  • make a quick test of web app (api) on your mobile device
  • accept a webhook from some service or oAuth redirect

Local tunnels allows you to easily share a local web service development machine without messing with DNS and firewall settings. And here are some free tools...


Read more ...

Translating Vue.js docs in Russian (help is needed)

vue

Vue.js is great and relatively new JS lib for building reactive interfaces. It is very easy and fun to work with it.
A lot of cool things coul be written about it, but this is not the goal of this post (I definitely should write some introductory post later). I consider that you are already familiar with it and also could be interested in Russian lang docs translation.

I have created a GitHub organization repo with official docs/site fork. In lang-ru branch everythign is being translated.

Here is the list of all pages and their translation status. If you want to help - just select a page, drop a comment about that, translate it and make a pull request!

Vue.js russian site with current translation state synced http://vuejs-ru.github.io/vuejs.org/
(it is periodically being redeployed)


Yii2 dev digest #9 Jul- Sep'14

The closer Yii dev team to release - the less often I make a digests. Maybe it's due to summer time and vacation or there are really less "breaking news", but this digest is much shorter as usually, despite almost 3 moths period. Also I do not spent much time now on reviewing. Briefly : it looks very close to RC, a lot of non-essential issues are postponed to 2.0.1+ version.

Read more ...

Yii2 dev digest #8 May-Jun'14

May was a good time for a barbeque and trekking :) So here is a brief digest, hopefully not so much news means more bugfix and docs work from Yii Team towards stable RC.


Read more ...
Ievgen
Kuzminov "iJackUA"
Web Team Lead
at MobiDev (Kharkiv, Ukraine)
Code in Ruby and Elixir, but still love PHP. Explore ES6 and Vue.js. Explore databases, use Ubuntu and MacOS, think about IT people and management

Notes


Skaffold tool that facilitates continuous development for Kubernetes-native applications. Continuously deploys to your local or remote Kubernetes cluster.



DoItLive is a tool for live presentations in the terminal. It reads a file of shell commands and replays the commands in a fake terminal session as you type random characters.