Showing 10 of 1,204 results.

Laravel String Helper Function: studly_case

Studly caps is a way of formatting text with capital letters, according to some pattern. Laravel's pattern is to remove the following word separators and capitalize the first letter of each word it finds (while not affecting the case of any other...

se_each Modifier

…template for each item within an array. The rendered template will receive the full context scope at the time the modifier was invoked, as well as the data from the item being iterated. 1 {{# Using a traditional loop. #}} 2 {{ loop_variable }} 3...

Semantic Highlighting | Contributing

Semantic highlight support is offered in addition to the TextMate grammar file, and is capable of providing much more accurate and pleasing highlighting results. This highlighting strategy utilizes the results of the server's Antlers parser, scope...

A Guidance Engine | Thoughts on a "Guidance Engine"

…. For one thing, you may not know exactly what it is you are looking for. You may know you want to find information and learn topic "XYZ". You type whatever phrase it is into your search engine of choice (again, not going to go mentioning any one...

Laravel Array Helper Function: array_last

…$ postsArray = [ 6 ' /post/first-post ' , 7 ' /post/second-post ' , 8 ' /post/last-post ' 9 ] ; 10 11 $ lastPost = Arr :: last ( $ postsArray , $ isPostFormat ) ; the value of $lastPost would be: /post/last-postThe $callback function is an...

where Comparison Operators | The "where" Filters

The following table lists all of the comparison operators that are supported by the where filter: Operator Description = Lose equality operator; the data types do not need to match. != Lose inequality operator; the data types do not need to match....

But Why? | Lambdas And Closures

These anonymous functions are useful when we as developers need to do something right then and there, but do not necessarily want, or need to create a dedicated function for the task. Like when we define routes in Laravel, it would be cumbersome...

Comment Systems and Statamic | Rebuilding Stillat.com

My old site did not have many comments, but I feel like they are part of the site (even if I don't directly create them), and I learn things from them every now and then; I wanted them to be part of the new site. As stated in a previous section, I...

Filter Search