Wednesday 15 April 2015

Multiple Forms vs 1 All-Encompassing Form? -


I'm writing a YouTube reply / comment type wall on my website. This allows users to post a new comment on the wall, or to answer any existing comments on the wall.

Is each comment recommended to create a separate form for the comment box? Or is it better to create only 1 form on the page, in which to submit all the input / element, and then use the code to find the form that submits the user code?

This question is not really about this particular application, but just normal coding best practices are thanks!

ps - I am using jQuery / Ajax

best thing Doing is to use different forms till you are not using ASP.net, you are already inside a huge size.


No comments:

Post a Comment