Tuesday, June 28, 2016

Example str_slug

$str = "this is a test";
$slug = str_slug($str);
var_dump("slug=" .$slug);
$slug2 = $slug . "-2";
var_dump("slug2=" .$slug2);

$pieces = explode("-",$slug2);

$number = intval(end($pieces));

var_dump("number=" .$number);

Daily Note 28-Jun-2016


1. setup timegrid
https://github.com/timegridio/timegrid
https://github.com/timegridio/timegrid/blob/master/INSTALLING.md

2 What next
Study in deep on this framework.

Friday, June 24, 2016

Usefully link


1. glyphicon class
http://www.w3schools.com/bootstrap/bootstrap_ref_comp_glyphs.asp

2. List of open source projects made with Laravel
https://gist.github.com/msurguy/8590765

3.Vocal extends the Eloquent base class, so your models are still fully compatible with Eloquent. Vocal simply intercepts some methods such as validate and save before they're passed to Eloquent.
https://github.com/sjdaws/vocal

4.Josh - Laravel Admin Template + Front End + CRUD
http://codecanyon.net/item/josh-laravel-admin-template-front-end-crud/8754542?ref=jyostna&&utm_source=github&utm_medium=stojan_repo

5.A collection of open-source projects built with the Laravel framework.
http://builtwithlaravel.com/

6.MongoDB based Eloquent model and Query builder
http://builtwithlaravel.com/listing/laravel-mongodb

7.Laravel based CMSs and open source applications
http://learninglaravel.net/laravel-based-cmss-and-open-source-applications

8.PyroCMS is an easy to use, powerful, and modular CMS and development platform built with Laravel 5.
https://github.com/pyrocms/pyrocms

9.Invoice Ninja
https://github.com/invoiceninja/invoiceninja

10. Timegrid helps contractors and customers to find the perfect meeting time through online appointments.
https://github.com/timegridio/timegrid

11. Awesome-opensource-apps
https://github.com/unicodeveloper/awesome-opensource-apps

12. Laravel.io Community Portal
http://laravel.io/forum 

Daily Note 25-Jun-2016

1. explore on Maatwebsite excel traits and enhance my excel function
    Try use traits to build one excel export function.
     Done : Create MaatExcel class

2. Import export excel function on "posts" form.
    Done

3. Add fetchTable class and CommonController.
    Done

4. Looking for billing / transaction laravel application.
    Next step.

Thursday, June 23, 2016

Review: Top 5 Laravel-based CMSs

http://laraveldaily.com/review-top-5-laravel-based-cmss/

Online Business Solution

Good site to reference.

https://www.stooges.com.my/en

JB 的话可以和我合作 ^^.
0167737062 Derrick Yam

Wednesday, June 22, 2016

Daily Note 22-Jun-2016

1. Create downloadExcel function.

2. Retrieve data from compact array
$temp = $data['data'];

3. git commit -m "add downloadExcel into helper function"

4. What next
    Implement export to excel to "posts" CRUD.