2DaysAway Posted December 28, 2007 Share Posted December 28, 2007 My game is mainly all php. I use Php include scripts where needed. Lately I have been rewriting and redesigning the game for faster load times. So my question is which is quicker and more efficient, the php include script or an Ajax Pagination script? Quote Link to comment https://forums.phpfreaks.com/topic/83491-php-include-script-or-an-ajax-pagination-script/ Share on other sites More sharing options...
nafetski Posted December 28, 2007 Share Posted December 28, 2007 Ajax =P Depending how you're using it...the nice part about it is if all you're calling is a small php file rather than a large one with lots of includes, that's simply less data that your having to get from the server. That and it definitely has a slicker feel to it. Kind of awkward to start off with if you've never used it, but I'd highly suggest it. http://www.tizag.com/ajaxTutorial/ajax-mysql-database.php Here is a great tutorial that can start you off. The one before it is a little more basic too if you find the concept confusing at first. Quote Link to comment https://forums.phpfreaks.com/topic/83491-php-include-script-or-an-ajax-pagination-script/#findComment-424777 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.