nihaloch
08-14-2009, 04:19 PM
hi
i made a web app using jquery which has quite a lot of ajax request to a database in it...
i want to know if putting all the database queries in one single file, and then based on the ajax request, execute a particular query in that file is better than just having a separate file for each query and calling that file with ajax
thanks in advance
i made a web app using jquery which has quite a lot of ajax request to a database in it...
i want to know if putting all the database queries in one single file, and then based on the ajax request, execute a particular query in that file is better than just having a separate file for each query and calling that file with ajax
thanks in advance