Slim is a full-featured, open-source PHP micro framework that helps you quickly write simple yet powerful web applications and APIs. It comes with a sophisticated…
8 CommentsAuthor: Praveen Anaparthi
11+ years of IT industry experience holding a wide range of skill sets and roles with significant work on PHP, Node.js, Python, Ruby, Docker, React.js, Microsoft Azure, Azure DevOps, Windows PowerShell, Shell script, Jenkins, MongoDB, SQL, MySQL, Apache, Nginx. etc. It is my passion to learn new things and implement them as a practice. Aside from work, I like gardening and spending time with pets.
Slim lets you group related routes. Route groups allow you to share route attributes, such as middleware or URL segments across a large number of…
Leave a CommentThis tutorial describes how to use laravel’s elixir to run Gulp tasks. Gulp is a javascript task runner, it keeps things simple and makes the…
Leave a CommentPast below code snippet right before loop and change category ID!
Leave a CommentJavaScript performance is becoming increasingly important, it is good to know basic instrumentation techniques. One of the basic instrumentation tool is console.time and console.timeEnd. console.time()…
Leave a CommentIn this post, I would like to show you a very trivial example, which will help you to find the version of the bash that…
Leave a CommentjQuery make it easy to preload images in the background so visitors won’t have to wait forever when they would like to display an image.…
Leave a Comment$(‘.btn’).hover(function(){ $(this).addClass(‘hover’); }, function(){ $(this).removeClass(‘hover’); } );
Leave a CommentOccasionally we have times when we have broken image links on our website and replacing them one by one isn’t easy, so adding this simple…
Leave a Comment//here we have one php variable //In javascript/jQuery
Leave a Commentif(!empty($_SERVER[‘HTTP_X_REQUESTED_WITH’]) && strtolower($_SERVER[‘HTTP_X_REQUESTED_WITH’]) == ‘xmlhttprequest’) { /* This is one ajax call }
Leave a Commentvar sometext = “here is more HTML”; $(“p#text1”).append(sometext); // added after $(“p#text1”).prepend(sometext); // added before
Leave a Commentvar maxheight = 0; $(“div.col”).each(function(){ if($(this).height() > maxheight) { maxheight = $(this).height(); } }); $(“div.col”).height(maxheight);
Leave a Comment$(“a[href=’#top’]”).click(function() { $(“html, body”).animate({ scrollTop: 0 }, “slow”); return false; });
Leave a Comment$(“a”).on(“click”, function(e){ e.preventDefault(); });
Leave a Comment