User created Code Snippets

Do you use a segment of code for Nova Framework that could be useful?, let us know about it!



Ajax with jQuery UI Autocomplete

Using jQuery's UI library to perform an ajax request.

Continue reading

Ajax lookup with select2

Using select2 with ajax, these example looks up contacts as names are types into a select menu.

Continue reading

Registering an spl_autoload to load php files

This snippet show's how to request an autoloader to load php classes that don't comply with PSR 4 auto loading so cannot be loaded with composer.

Continue reading

manual escape database string

This snippet is a function that can be placed in app/Bootstrap.php to have a global function to escape PDO parameters.

Continue reading

Multiple Database Connections

You can add multiple databases to one app, this snippet show's various ways of using different connections.

Continue reading