Jump to content
MakeWebGames

Life Without Javascript


KingKong

Recommended Posts

Hello MWG's. 

I have been using more and more javascript (JS) as of late to enhance my user's experience (Reloading stats, user bars, events etc).

Today I started on a path of exploring what can be done without JS to solve the on page load issue with most PBBG engines.

Looking into raw PHP and HTML I have moved down the path of ob_start(); for output buffering: moving all user info above the start of HTML/body has made my user's experience far better.

I no longer reload user stats, events and such as the output buffer from ob_start(); updates on page display (load). Thus saving on queries and user bandwidth.

 

I've removed all JS from my client side and started down a simpler path to go back to basics.

Doing this has forced me to be more cautious of where I place PHP and HTML code on a page and cleaned up a lot of my code.

 

Do any of you have a similar experience of removing something to learn a different way around a problem? 

I'd love to hear them. 

 

 

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...