generate-svg-on-the-server-with-js icon indicating copy to clipboard operation
generate-svg-on-the-server-with-js copied to clipboard

it seems diffcult to debug and adjust the code if put the processing which create svg at the server side, could you say some thing about it?

Open joostshao opened this issue 10 years ago • 2 comments

i have wandered for a long time about create svg at the browser server end. first, the javascript plugs or tools can all be used with "require" in the nodejs and phatomjs environment. it seems that the differences are the balance of client and server , used cpu time and memory used.

but i have forget the important thing: if put it to server end, i should coding at the server side (the create logic and fetch my data from dbms) and refresh my brower then check my svg .

it is not Humanization, create code at server side and debug at the client, it become more diffcult.

joostshao avatar Oct 07 '14 16:10 joostshao

According to my experience debugging server-generated svg is no more complex than debugging server-generated html. And also do not forget that there is no need to have a separate remote machine for tests, you can everything try locally even with livereload

somebody32 avatar Oct 08 '14 08:10 somebody32

LiveReload is great, thank you

joostshao avatar Oct 08 '14 13:10 joostshao