Skip to main content

Posts

Showing posts from March, 2016

Flash Message

https://packagist.org/packages/tamtamchik/simple-flash Demo:  http://demo.tamtamchika.net/simple-flash/examples/ Install Via  Composer . $ composer require tamtamchik/simple-flash Inside your project make sure to start a session and load  Composer  autoload to make everything work. <?php // Start a Session if( !session_id() ) @session_start(); // Initialize Composer Autoload require_once 'vendor/autoload.php'; Warning!  This library contains global  flash()  function, that potentially can break your function with this name. Now you are warned! Usage There are 3 ways to use library: use \Tamtamchik\SimpleFlash\Flash; // Instance $flash = new Flash(); $flash->message('Tea.'); // Static Flash::message('Earl Gray.'); // Function flash()->message('Hot!'); Messages added by calling  message($message, $type = 'info')  method. In case of calling a function  flash()  you can pass  $message, $type ...

What is the difference betweeb GitHub,GibLab and BitBuckect ?

GitHub vs GitLab vs BitBucket Server (Formerly Stash) 11 Replies This article will try to compare  GitHub ,  GitLab  and  BitBucket Server  (previously called Stash) installed on your own servers. Similar comparison of cloud offerings is outside the scope of this article. I won’t try to go feature by feature in some kind of a table so that you can count who has more features. I find that approach often misleading even though it’s very commonly used among companies (especially where there is a software architect around). Instead, I’ll give my opinionated view. GitHub GitHub has a great, intuitive, informative and, to many, familiar UI. Its big advantage is that most of us already used GitHub.com  (if not as a repository than at least to clone someone some code or to look at snippets). If installed on our own servers, most developers will feel at home. It features LDAP integration, integration with JIRA and many other features important to tod...