js

Get JSON data from PHP file

Having a PHP file spit out JSON as its main function can be really useful when you want to execute an AJAX call so you can refresh some content on the page, without reloading the page. Since the development of AJAX calls, a long wished dream was fulfilled for almost every web artisan. Being able to fully change parts of the content on a page without reloading everything was huge and certainly made each project more instant, direct and user...

Continue reading...

What is a JS modal?

Modals offer an amazing advantage throughout your app since you can display data on demand that you want the user to see or change in seconds instead of letting the redirector send the user to an actual form to edit the data directly and thus submitting to an actual script. In case of a fully implemented web app, modals used side by side with AJAX or Asynchronous JavaScript and XML. AJAX is the main technique that the modal will be...

Continue reading...