A free, simple tool to draw ER diagrams by just writing code.Designed for developers and data analysts. Enjoy the Efficiency of Writing Code You type and an ER diagram appears. Your fingers never need to leave your keyboard. Export to Images and PDFs Create beautiful PDFs of your ER diagram to circulate internally. Who says …
Some tips to reinforce security in Laravel
Prevent from Brute-force attack In Laravel 7, Illuminate\Foundation\Auth\ThrottlesLogins is already there in LoginController which is used to prevent brute-force attack. Route::post(‘login’, ‘Auth\LoginController@postLogin’)->middleware(“throttle: maxAttempts, decayMinutes“); Prevent from going back in browser history after login/logout After logout, users should not be able to go back to the previous page by using browser’s “back” button. We need to add …
Cancel Preceded Requests from Frontend side Using Axios
There are some cases that user sends simultaneous requests while preceded requests are still pending. In this case, you will need to cancel the preceding requests. Axios provides cancelTokenfeature for this purpose. This stores cancelToken of previous request and use it to cancel the preceded requests with the token value.
Vue Place Auto-Complete
I think we can often meet some case like this, just place auto-complete in Vue framework. Generally, there are 2 kinds of packages and methods to meet auto-complete in vue: “vue-place-autocomplete”, “vue-google-autocomplete”.But place-autocomplete has some original and potential issues such as filling out of input itself, so weekly users are only 319 peoples.Otherwise google-autocomplete is …
What Is New in PHP 7?
To better performance, the following technical changes appear in PHP 7. We should familiarize themselves with these changes if they intend to switch over to using PHP 7 for their web development projects. R Return Types Return types, a common feature in most other programming languages, have finally been introduced to PHP. This means that …
Social Proof Marketing Platform Fomo
Fomo helps honest entrepreneurs show off customer interactions (purchases, opt-ins, even pageviews) with one line of code. Social proof notifications increase conversions and make your website the thriving bit of online real estate it is. We can use their service to show notifications to increase conversion rating in websites. https://fomo.com/
Forced update for Mixed type in Mongoose
There is a Mixed data type in Mongoose schema definition. The problem with Mixed type is, it doesn’t recognize update event for Mixed type. To fix this, you should call markModified function.
Froala – WYSIWYG Editor
The smartest and world’s most beautiful WYSIWYG rich text editor. High performance and simple design make our JS text editor easy to use for developers and loved by users. What I like in Froala is Image manager. You can list your images from your custom server in the froala editor image manager
How to get the difference between two arrays of objects in JavaScript
Sometimes we need to get the difference between two arrays of objects in javascript as well as comparing those 2 arrays. We can refer to the following example to accomplish this idea:
Digital Experience Analytics, Full Story
FullStory is the digital experience analytics platform for on-the-fly funnels, pixel-perfect replay, custom events, heat maps, advanced search and Dev Tools User Identification Each time a page loads from a user we can identify, we will want a bit of JavaScript to call the FS.identify function to associate your own application-specific id with the active user. …