Skip to content

u/shiase

In this archive from Oct 2011 to Jan 2016

0
posts
24
comments
0
media
51
score

it keeps a connection open to the server when not needed. if something goes wrong with the connection or if the client's connection is just plain unreliable (like on mobile), the data is lost and the whole page load must be started over. if your server is set to time out before this operation can be completed, this may never work

the page will not fully load until the operation is done, no html is loaded until the php is done which is most likely undesirable. the page is not fully functional while waiting on the operation to finish, which seems to go against what the op is asking for (javascript files placed at the bottom of the page will not load)

php, html and javascript all in a single file

incompatible with template systems unless you're using pure php for your templates, and probably incompatible with many other things

this will give the impression that the website is slow and provides no indication of progress

quick and dirty things like this doesn't make you look like a good programmer. try to do things the best way

follow other advice in this thread and do background jobs. this is 2013

1 points

End of this list.

Back to top

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.