if (!empty($_SERVER['HTTP_CLIENT_IP']))
$ip=$_SERVER['HTTP_CLIENT_IP'];
else if (!empty($_SERVER['HTTP_X_FORWARDED_FOR']))
$ip=$_SERVER['HTTP_X_FORWARDED_FOR'];
else
$ip=$_SERVER['REMOTE_ADDR'];
?>
While supporting our customers we feel it would be convenient to have a cheatsheet so that everyone can look up the commands easily and avoid being overwhelmed by complicated documentation. This cheatsheet summarizes the basic usage and the purpose of each ZK MVVM binding command, saving you from having to memorize everything by heart. To […]
ZK 8 is on the way with various enhancements on MVVM and databinding. ARE YOU READY? MVVM is a variant of the Model/View/Controller(MVC) design pattern that helps to achieve a clean separation of your application’s data and logic from its presentation. MVVM stands for Model, View, and ViewModel. The ViewModel is an abstraction of the […]
Introduction In ZK 8, we enhance the performance of MVVM and had it made more powerful. One of the most important features is the enhancement of children binding. Originally, children binding allows us to bind child components to a collection, in which we can create a group of similar components dynamically upon the collection with […]
2015/3/16 updated: Now the proxy object in form binding will auto-detect the changes of proxy object and form status. In this sample, the following code segment can be omitted : BindUtils.postNotifyChange(…); Introduction We are glad to disclose the firsthand information on one of the most to die for features in ZK 8 – New Form […]
I have been evangelizing ZK 6 and its multitude of features for close to six months give or take and I am still excited about what’s coming for ZK developers. Before we continue the ZK 6 theme let’s have a recap on what has happened with ZK 5. ZK 5 has been our most successful […]