Validate forms and generate dynamic pages

Asked

Viewed 213 times

5

I use javascript to validate forms with php+html, before the constant changes (language and technology evolutions) javascript is still recommended for use or there is already the possibility of replacing javascript with another Client-Side language.

  • 1

    http://answall.com/questions/4872/como-usar-outra-linguagem-que-n%C3%A3o-javascript-no-browser

1 answer

3


There is no definitive answer to this question, since it is more related to each person’s opinion.

There goes my.

Despite other languages such as Typescript (Microsoft), Dart (Google) and Coffee Script, most browsers only support Javascript.

The Microsoft initiative with the Typescript language is kind of interesting, since the "compiler" (is more a translator than a compiler) generates Javascript code, and therefore can be executed in any browser. The Typescript language, thus, is a super set of JS.

I have never dealt with any of them, and therefore I can’t tell their specific advantages, with the exception of the fact of Typescript compatibility.

Today, what I have done, is to use frameworks to develop client code, since there is no escape from JS.

The best I adapted (although I’m using it for a short time) is Angularjs. It is simple, the documentation is extensive (but not complete), it is possible to integrate it with several other libraries (such as Bootstrap and jQuery) and create very cool things, which favor too much reusability of code.

I also really liked Google Closure, but it is more complicated and requires much more from the developer than Angularjs.

Anyway, in my experience, do not run away from Javascript (at least not yet...), and make use of Frameworks whenever possible.

  • +1, updated me with your answer. jQuery is what I use, but I will take a look at the cited.

  • I have seen several guys working with large companies in the US speaking that Javascript as a client-languageside and its variations as Jquery are and will be for a long time still the most used technologies for development of web systems for being a language that works anywhere you put, Besides being mega robust and also saying that those who have security in what they are doing and at their professional level do not care about the exposure of their source code. I personally respect these guys.

  • Extensive is with 'x'.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.