In addition to actually removing records from your database, Eloquent can also “soft delete” models. When models are soft deleted, they are not actually removed from your database. Instead, a deleted_at attribute is set on the model and inserted into the database. If a model has a non-null deleted_at value, the model has been soft deleted. To enable soft …
Free SSL Implementation With Certbot
You are a web developer and want to implement HTTPS on your site. Will you need to purchase SSL Certificate? – Surely, YES. But there is letsencrypt. If you use letsencrypt, you can enable HTTPS on your site freely. As a way to implement letsencrypt to enable HTTPS, you can use Certbot ACME client. https://certbot.eff.org …
apiary.io – online API Desing Stack
Building great APIs is all about effective collaboration. App developers, testers, architects, product managers, clients, and partners all bring unique perspectives to the design of your APIs. We can use this service when designing REST API. There are a lot of services online. But this is free and easy to use.
Introduction about Hellobonsai
https://www.hellobonsai.com/ Giving you what’s best. Get paid faster Freelancers get paid an average of 13 days faster, and have 3x fewer late payments with Bonsai. Save time Bonsai automatically generates and fills all your documents as soon as you start a new project. Less worry, more time. Protect your business With templated contracts and legally …
Git Reflog
We can do like we did using ctrl + z in code editor. Oh, yes, say when we use git. Git remember its history and we can see them by typing git reflog The documentation is here. http://git-scm.com/docs/git-reflog
Introduction to SSH (Secure Shell)
As a developer, SSH(Secure Shell) is everyday use when you work with remote server. Let’s see how SSH works, what is the public key and private key, what configuration we need on server side and local environment and the like.
Cross Site Scripting
Comprehensive example of Cross Site Scripting(XSS) attack.Let’s say a web page has a comment section and users can leave comment on the page. A bad user leave comment on the site and it’s text is <script> alert(‘You’re hacked’) </script> It’s stored in the server database. When another user visit the page, the text is sent …
SQL query performance enhancement
We know that model querying take more time than raw sql querying. Here is some practice with sample test.In sails.js project, we use waterline ORM by default. It’s Node.js ORM but we can bind SQL dbs like MySQL, PostgreSQL. When we tried to execute query using model, it took around 2 seconds to retrieve around …
Laravel Compose
It is a method to insert code snippets to Laravel blade template. In Laravel compose we pass some variables to Laravel blade template and we receive them and compose html in blade template. For example, we can compose nav menu using it. In most sites, nav menu looks different between logged in use and logged …








