Remove Ad, Sign Up
Register to Remove Ad
Register to Remove Ad
Remove Ad, Sign Up
Register to Remove Ad
Register to Remove Ad
Signup for Free!
-More Features-
-Far Less Ads-
About   Users   Help
Users & Guests Online
On Page: 1
Directory: 165
Entire Site: 3 & 1028
Page Staff: pennylessz, pokemon x, Barathemos, tgags123, alexanyways, supercool22, RavusRat,
04-25-24 05:55 AM

Forum Links

Related Threads
Coming Soon

Thread Information

Views
1,023
Replies
14
Rating
9
Status
CLOSED
Thread
Creator
Davideo7
01-26-17 06:11 AM
Last
Post
Davideo7
01-27-17 04:47 PM
Additional Thread Details
Views: 474
Today: 0
Users: 52 unique
Last User View
01-28-17
MegaNintendo4.

Thread Actions

Thread Closed
Order
 

Site Content Now Loads Dynamically Using AJAX

 

01-26-17 06:11 AM
Davideo7 is Online
| ID: 1326782 | 523 Words

Davideo7
Level: 351


POSTS: 41262/45323
POST EXP: 3473262
LVL EXP: 811846662
CP: 191350.4
VIZ: 121508939

Likes: 5  Dislikes: 0
A lot of the content on the site now loads dynamically using AJAX. Any content box that has the refresh icon is content that is being loaded with AJAX. There are a lot of benefits to this which include:
-A page can now load quicker since it doesn't have to wait for the content within those boxes
-You can click the reload icon to reload the content in a content box without having to reload page
-Some content boxes automatically reload every number of seconds (such as 'Your Online Friends') and only does so if the window is active
-The content only loads if the window and page is active which means that if someone opened a bunch of tabs, the content in those boxes will not load until the user goes to that tab (currently removed; it'll be added back once I get this functioning properly in all browsers)
-Some content boxes can be navigated without leaving the page (such as the 'Page Comments', which was recently migrated to AJAX from iframes, and the YouTube uploader, which is currently under construction) but optionally you can still open those links in their own page by right clicking or middle clicking
-I have more control over how content is displayed on a page compared to how I was going about content before
-For some future migrations, it'll allow users to obtain more information on a page without having to leave a page (instead of having to go from page to page to sort through screenshots for example, they'd just continue to load in their content box)
-All content boxes can be viewed in a full page if you click their header name (this offers more customization and a full page to view it)

I also changed the way that hovering over usernames is handled. Before it would load an iframe in the Information panel but now it simply uses AJAX just like everything else mentioned above. This allows the content to load far quicker. I also made it so that you have to hover the mouse over the name for 0.25 seconds which will help prevent accidental hovers and it also helps prevent users abusing it by hovering over a bunch of names quickly.

All of this is part of my huge effort to greatly reduce the overall strain on the site so that I can merge 2 of my servers into 1 server resulting into me saving $375 a month. I plan to make a lot more of the content boxes of the site use AJAX (such as the screenshots and video sections of the game pages) and after I'm doing migrating a lot of the site's content to AJAX, I'm going to then make a lot of the content boxes utilize cached content that doesn't need to render data and connect to the DB on every page load.

EDIT: I should also point out that these updates should result into less strain client side. The pages should have a little less HTML overall and should use less of your computer's resources. Once I'm completely finished, this will be even more the case.
A lot of the content on the site now loads dynamically using AJAX. Any content box that has the refresh icon is content that is being loaded with AJAX. There are a lot of benefits to this which include:
-A page can now load quicker since it doesn't have to wait for the content within those boxes
-You can click the reload icon to reload the content in a content box without having to reload page
-Some content boxes automatically reload every number of seconds (such as 'Your Online Friends') and only does so if the window is active
-The content only loads if the window and page is active which means that if someone opened a bunch of tabs, the content in those boxes will not load until the user goes to that tab (currently removed; it'll be added back once I get this functioning properly in all browsers)
-Some content boxes can be navigated without leaving the page (such as the 'Page Comments', which was recently migrated to AJAX from iframes, and the YouTube uploader, which is currently under construction) but optionally you can still open those links in their own page by right clicking or middle clicking
-I have more control over how content is displayed on a page compared to how I was going about content before
-For some future migrations, it'll allow users to obtain more information on a page without having to leave a page (instead of having to go from page to page to sort through screenshots for example, they'd just continue to load in their content box)
-All content boxes can be viewed in a full page if you click their header name (this offers more customization and a full page to view it)

I also changed the way that hovering over usernames is handled. Before it would load an iframe in the Information panel but now it simply uses AJAX just like everything else mentioned above. This allows the content to load far quicker. I also made it so that you have to hover the mouse over the name for 0.25 seconds which will help prevent accidental hovers and it also helps prevent users abusing it by hovering over a bunch of names quickly.

All of this is part of my huge effort to greatly reduce the overall strain on the site so that I can merge 2 of my servers into 1 server resulting into me saving $375 a month. I plan to make a lot more of the content boxes of the site use AJAX (such as the screenshots and video sections of the game pages) and after I'm doing migrating a lot of the site's content to AJAX, I'm going to then make a lot of the content boxes utilize cached content that doesn't need to render data and connect to the DB on every page load.

EDIT: I should also point out that these updates should result into less strain client side. The pages should have a little less HTML overall and should use less of your computer's resources. Once I'm completely finished, this will be even more the case.
The Owner
Owner, Developer, Advertiser, etc
Founder, Mod, Investor


Affected by 'Laziness Syndrome'

Registered: 12-06-04
Location: Wisconsin
Last Post: 2 days
Last Active: 4 min.

(edited by Davideo7 on 01-27-17 04:46 AM)     Post Rating: 5   Liked By: , jlove92, jnisol, Lexatom, thing1,

01-26-17 06:36 AM
Eniitan is Offline
| ID: 1326784 | 37 Words

Eniitan
Level: 174


POSTS: 9804/10522
POST EXP: 959649
LVL EXP: 70526956
CP: 55219.3
VIZ: 2613565

Likes: 0  Dislikes: 0
So that may explain a few things...I was wondering when I was starting my posting spree. So much change in so little time with each day this site changes with new updates, or most of the time.
So that may explain a few things...I was wondering when I was starting my posting spree. So much change in so little time with each day this site changes with new updates, or most of the time.
Vizzed Elite
Number 1 Sailor Moon, Final Fantasy And Freedom Planet Fan On Vizzed!


Affected by 'Laziness Syndrome'

Registered: 08-16-12
Last Post: 571 days
Last Active: 59 days

01-26-17 02:46 PM
m0ssb3rg935 is Offline
| ID: 1326835 | 63 Words

m0ssb3rg935
m0ssb3rg935
Level: 109


POSTS: 1984/3607
POST EXP: 283159
LVL EXP: 13810848
CP: 22121.1
VIZ: 925924

Likes: 1  Dislikes: 0
I noticed the "online friends" box auto refreshing and I thought that was really cool. Since I'm on a slow connection and a budget laptop, reloading the page sometimes takes a while, so I'm liking that feature. Just out of curiosity, do you think we'll ever see the same thing happen to the Message Center, having inboxes and notifications auto refreshing, as well?
I noticed the "online friends" box auto refreshing and I thought that was really cool. Since I'm on a slow connection and a budget laptop, reloading the page sometimes takes a while, so I'm liking that feature. Just out of curiosity, do you think we'll ever see the same thing happen to the Message Center, having inboxes and notifications auto refreshing, as well?
Vizzed Elite
Former Admin
Token Clueless Guy to Make Others Look Smarter


Affected by 'Laziness Syndrome'

Registered: 03-09-13
Location: Tennessee
Last Post: 846 days
Last Active: 513 days

Post Rating: 1   Liked By: Mohammedroxx3,

01-26-17 03:21 PM
Lexatom is Offline
| ID: 1326842 | 50 Words

Lexatom
LunarDarkness2
Level: 126


POSTS: 3815/5106
POST EXP: 331704
LVL EXP: 22848102
CP: 26847.3
VIZ: 713846

Likes: 0  Dislikes: 0
I thought I noticed that happening. Either that or I was finally going absolutely insane. This is remarkable, thanks for doing this. I have the same question as Moss, mostly pertaining to notifications. I don't like refreshing the page every 10 minutes to check if I have any notifications haha.
I thought I noticed that happening. Either that or I was finally going absolutely insane. This is remarkable, thanks for doing this. I have the same question as Moss, mostly pertaining to notifications. I don't like refreshing the page every 10 minutes to check if I have any notifications haha.
Vizzed Elite
The Dragon of Rock Bottom


Affected by 'Laziness Syndrome'

Registered: 07-30-13
Location: Denver, CO
Last Post: 551 days
Last Active: 269 days

01-26-17 03:29 PM
Mohammedroxx3 is Offline
| ID: 1326850 | 124 Words

Mohammedroxx3
mohammedroxx3
Level: 123


POSTS: 4600/4716
POST EXP: 427341
LVL EXP: 20663027
CP: 37419.3
VIZ: 1465204

Likes: 1  Dislikes: 0
All the widgets seem blank/empty for me when I load any page. Here's a screenshot of what I mean: http://i.imgur.com/MICjcii.png

But each widget appears normally if I either click the refresh button on all of the widgets or open a new tab and go back to the vizzed tab I was on. A little annoying that I have to do this everytime I go to a different page so the widgets aren't empty but seems like it's a small problem. Probably a minor bug where the widget should begin to load once you go to a vizzed page, not only when refreshing or going back to a tab. (Is it only me who has this problem though?)

Other than that, it's pretty cool. Thanks!
All the widgets seem blank/empty for me when I load any page. Here's a screenshot of what I mean: http://i.imgur.com/MICjcii.png

But each widget appears normally if I either click the refresh button on all of the widgets or open a new tab and go back to the vizzed tab I was on. A little annoying that I have to do this everytime I go to a different page so the widgets aren't empty but seems like it's a small problem. Probably a minor bug where the widget should begin to load once you go to a vizzed page, not only when refreshing or going back to a tab. (Is it only me who has this problem though?)

Other than that, it's pretty cool. Thanks!
Vizzed Elite

Affected by 'Laziness Syndrome'

Registered: 03-03-13
Location: Earth?
Last Post: 1120 days
Last Active: 1008 days

Post Rating: 1   Liked By: Lexatom,

01-26-17 03:43 PM
Jordanv78 is Offline
| ID: 1326856 | 14 Words

Jordanv78
Level: 190


POSTS: 12052/12281
POST EXP: 809836
LVL EXP: 95654682
CP: 78615.2
VIZ: 577300

Likes: 0  Dislikes: 0
Glad to see the site start updating to (somewhat) current web standards! Great work!
Glad to see the site start updating to (somewhat) current web standards! Great work!
Vizzed Elite
Former Admin
Special Assault Brigade for Real Emergencies


Affected by 'Laziness Syndrome'

Registered: 10-16-10
Location: Chicagoland
Last Post: 2417 days
Last Active: 2390 days

01-26-17 05:20 PM
Davideo7 is Online
| ID: 1326873 | 45 Words

Davideo7
Level: 351


POSTS: 41264/45323
POST EXP: 3473262
LVL EXP: 811846662
CP: 191350.4
VIZ: 121508939

Likes: 1  Dislikes: 0
Lexatom :
m0ssb3rg935 : Yeap I definitely want to do it with that as well at some point.

Mohammedroxx3 : I'm not sure why you'd be experiencing that issue. It happens on every page? I made a small adjustment, let me know if that helped.

Jordanv78 : Exactly lol.
Lexatom :
m0ssb3rg935 : Yeap I definitely want to do it with that as well at some point.

Mohammedroxx3 : I'm not sure why you'd be experiencing that issue. It happens on every page? I made a small adjustment, let me know if that helped.

Jordanv78 : Exactly lol.
The Owner
Owner, Developer, Advertiser, etc
Founder, Mod, Investor


Affected by 'Laziness Syndrome'

Registered: 12-06-04
Location: Wisconsin
Last Post: 2 days
Last Active: 4 min.

Post Rating: 1   Liked By: Jordanv78,

01-26-17 05:26 PM
Mohammedroxx3 is Offline
| ID: 1326877 | 54 Words

Mohammedroxx3
mohammedroxx3
Level: 123


POSTS: 4601/4716
POST EXP: 427341
LVL EXP: 20663027
CP: 37419.3
VIZ: 1465204

Likes: 0  Dislikes: 0
Davideo7- It still happens but now all the widgets appear as soon as I click any link. (so it shows up for like one second once I click a link before it loads the new page and disappears again) It does seem to happen on all pages.

I'm using google chrome on Windows 10. 
Davideo7- It still happens but now all the widgets appear as soon as I click any link. (so it shows up for like one second once I click a link before it loads the new page and disappears again) It does seem to happen on all pages.

I'm using google chrome on Windows 10. 
Vizzed Elite

Affected by 'Laziness Syndrome'

Registered: 03-03-13
Location: Earth?
Last Post: 1120 days
Last Active: 1008 days

01-26-17 05:55 PM
Boured is Offline
| ID: 1326884 | 24 Words

Boured
18mlivingston
DanceDanceRevolution7
Level: 89


POSTS: 1443/2179
POST EXP: 104277
LVL EXP: 6688127
CP: 9300.3
VIZ: 1380728

Likes: 0  Dislikes: 0
This is so cool! Good job David, the site is now faster, in fact the theme of this forum should be...





Davideo7 :
This is so cool! Good job David, the site is now faster, in fact the theme of this forum should be...





Davideo7 :
Vizzed Elite
Former Admin
The Guildmaster


Affected by 'Laziness Syndrome'

Registered: 06-23-12
Location: My Laptop
Last Post: 946 days
Last Active: 361 days

01-26-17 09:27 PM
EX Palen is Offline
| ID: 1326918 | 94 Words

EX Palen
Spanish Davideo7
Level: 137


POSTS: 3520/6183
POST EXP: 1095891
LVL EXP: 30550266
CP: 188033.1
VIZ: 10668792

Likes: 0  Dislikes: 0
I'm experiencing the same things as Moha (partly because I'm also using Chrome on Windows 10).

It doesn't happen just with the widgets on the sides. Even the widgets in the Board, just before the forums are displayed, are completely blank for a while before actually loading.

Despite that, it's kind of cool to see the widgets update in real time. If this also lowers the client side strain, then we will also face much less times the errors loading the page that have plagued us for the last months, which was much needed.
I'm experiencing the same things as Moha (partly because I'm also using Chrome on Windows 10).

It doesn't happen just with the widgets on the sides. Even the widgets in the Board, just before the forums are displayed, are completely blank for a while before actually loading.

Despite that, it's kind of cool to see the widgets update in real time. If this also lowers the client side strain, then we will also face much less times the errors loading the page that have plagued us for the last months, which was much needed.
Administrator
Site Staff Manager, Content Writer, Console Manager
Vizzed #1 Hardstyle fan


Affected by 'Carpal Tunnel Syndrome'

Registered: 07-03-13
Location: Barcelona, Spain
Last Post: 16 hours
Last Active: 12 hours

01-26-17 10:33 PM
Yuna1000 is Offline
| ID: 1326941 | 26 Words

Yuna1000
Level: 90


POSTS: 1089/2468
POST EXP: 319231
LVL EXP: 7176601
CP: 138792.0
VIZ: 351951

Likes: 1  Dislikes: 0
Davideo7 : Awesome!  Thank you so much for working on making Vizzed faster and more efficient, we really appreciate all of your time and efforts!
Davideo7 : Awesome!  Thank you so much for working on making Vizzed faster and more efficient, we really appreciate all of your time and efforts!
Vizzed Elite

Affected by 'Laziness Syndrome'

Registered: 12-08-14
Location: Realm of Dreams
Last Post: 1368 days
Last Active: 66 days

Post Rating: 1   Liked By: Davideo7,

01-27-17 04:39 AM
Davideo7 is Online
| ID: 1326967 | 17 Words

Davideo7
Level: 351


POSTS: 41266/45323
POST EXP: 3473262
LVL EXP: 811846662
CP: 191350.4
VIZ: 121508939

Likes: 0  Dislikes: 0
Mohammedroxx3 :
EX Palen :
I removed that feature for now. Content should load fine for you guys now.
Mohammedroxx3 :
EX Palen :
I removed that feature for now. Content should load fine for you guys now.
The Owner
Owner, Developer, Advertiser, etc
Founder, Mod, Investor


Affected by 'Laziness Syndrome'

Registered: 12-06-04
Location: Wisconsin
Last Post: 2 days
Last Active: 4 min.

01-27-17 08:57 AM
Mohammedroxx3 is Offline
| ID: 1326997 | 14 Words

Mohammedroxx3
mohammedroxx3
Level: 123


POSTS: 4602/4716
POST EXP: 427341
LVL EXP: 20663027
CP: 37419.3
VIZ: 1465204

Likes: 0  Dislikes: 0
Davideo7- It seems to work perfectly fine for me now and it still auto-updates. 
Davideo7- It seems to work perfectly fine for me now and it still auto-updates. 
Vizzed Elite

Affected by 'Laziness Syndrome'

Registered: 03-03-13
Location: Earth?
Last Post: 1120 days
Last Active: 1008 days

01-27-17 03:26 PM
is Offline
| ID: 1327023 | 63 Words


JigSaw
Level: 164


POSTS: 7151/7936
POST EXP: 584185
LVL EXP: 57405426
CP: 8045.8
VIZ: -46031833

Likes: 0  Dislikes: 0
This is very neat, will you be adding AJAX to new post page at all or on the forum index?

AJAX heavily sites like Hotmail and Facebook can take me several minutes to load up (due to my low speed net) but on here it loads pretty fast 10-30 seconds per page (which is basically the same timeframe it took without the AJAX).
This is very neat, will you be adding AJAX to new post page at all or on the forum index?

AJAX heavily sites like Hotmail and Facebook can take me several minutes to load up (due to my low speed net) but on here it loads pretty fast 10-30 seconds per page (which is basically the same timeframe it took without the AJAX).
Vizzed Elite
PHP Developer, Security Consultant

Affected by 'Laziness Syndrome'

Registered: 04-06-06
Location: Area 51
Last Post: 1734 days
Last Active: 1728 days

01-27-17 04:47 PM
Davideo7 is Online
| ID: 1327030 | 43 Words

Davideo7
Level: 351


POSTS: 41272/45323
POST EXP: 3473262
LVL EXP: 811846662
CP: 191350.4
VIZ: 121508939

Likes: 0  Dislikes: 0
JigSaw : I'm getting more and more comfortable with AJAX so because of that, I'll most likely utilize it more throughout the site as long as it doesn't negatively affect anything. A lot of sites use it poorly so I'll avoid that for sure.
JigSaw : I'm getting more and more comfortable with AJAX so because of that, I'll most likely utilize it more throughout the site as long as it doesn't negatively affect anything. A lot of sites use it poorly so I'll avoid that for sure.
The Owner
Owner, Developer, Advertiser, etc
Founder, Mod, Investor


Affected by 'Laziness Syndrome'

Registered: 12-06-04
Location: Wisconsin
Last Post: 2 days
Last Active: 4 min.

Links

Page Comments


This page has no comments

Adblocker detected!

Vizzed.com is very expensive to keep alive! The Ads pay for the servers.

Vizzed has 3 TB worth of games and 1 TB worth of music.  This site is free to use but the ads barely pay for the monthly server fees.  If too many more people use ad block, the site cannot survive.

We prioritize the community over the site profits.  This is why we avoid using annoying (but high paying) ads like most other sites which include popups, obnoxious sounds and animations, malware, and other forms of intrusiveness.  We'll do our part to never resort to these types of ads, please do your part by helping support this site by adding Vizzed.com to your ad blocking whitelist.

×