Showing 7 of 1,216 result(s)
…can do without those; it is at this point we need to start looking for performance savings in unconventional places. When I started working on this cache experiment about eight months ago, I was curious about the response times if I...
This method gets called by Laravel when it is rendering a link for whatever page the user is currently on. Our method for Semantic UI will look like this: It simply wraps the active page's name in a div with the CSS classes active and item .
This method is used by Laravel for a few things. For example, when rendering the ellipsis and, of course, any disabled links, it calls this method to do it. So our code needs to return some HTML and CSS that will indicate to the user that the link...
This method is what Laravel calls when it is generating the links to the different pages a user can go to. It takes the page's URL, name and an option rel attribute and generates a link to it. Our Semantic UI version will look like this:
…he easy part. We simply create a new view in the views folder wherever you want. I named mine paginator.php in a folder that I named semantic . The paginator view looks like this: The paginator view is responsible for taking a $paginator object...
…of method call will appear above the method call as a comment. Line 11 in the above code examples could possible seem confusing at first. The method call returns true even though there is no es locale by default. The method call returns true...
…y systems using Symfony's Process component. While PHP provides its own features for making operating system calls, the Symfony component is capable of dealing with the nuances and differences between different operating system environments....
The following amazing people help support this site and my open source projects ♥️
If you're interesting in supporting my work and want to show up on this list, check out my GitHub Sponsors Profile.