Startseite > stdout.in Ievgen Kuzminov IT blog
Es tut mir leid, aber die deutsche Version der Website hat noch sehr wenige Artikel. Besuchen Sie bitte English Version alle interessante Artikel zu sehen!

Posts by tag : yii2 extension

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

Notes by tag : yii2 extension

Keine Ergebnisse gefunden
Ievgen
Kuzminov "iJackUA"
Web Team Lead
in MobiDev (Charkiw, die 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

Notizen


cool-old-term - just made my day. This is a terminal emulator which tries to mimic the look and feel of the old cathode tube screens. I will use it cold winter nights... :)



Server side simple app made with different frameworks - Notejam (take a look on the same real web app made with RoR, Django, Laravel etc. ) It is an alternative of famous JS ToDoMVC by Addy Osmani