Which environment use for writing HTML code [closed] - javascript

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I'm intermediate java programer. I have good knowledge on java fundamentals and programming in general. So i don't have problems get used to different IDEs and start with new languages. I want tu dive deeper in java front end development. I have HTML basics so i know that you should(can) start writing HTML+CSS+JS in ordinary windows notepad. But i did it that way some time ago so first i need to refresh my knowledge and after that gain new information.
So my question is is it still valid approach to use notepad or should i immediately start coding in some more specialized software such as Dreamweaver

I never would code in notepad. You have no file-encoding and no syntax-highlighting. You cant see simple mistakes.
A good start for every language is Notepad++ when you are on windows. At Linux I use Geany.
When it comes to bigger application with php I recommend phpStorm

For just a simple and small project or refreshing your skills, notepad++ is absolutely okay. To do a little bit more I would use PhpStorm from JetBrains, which got excellent support for HTML, JS, CSS, PHP and also some JS-Frameworks such as JQuery.

I use Eclipse IDE with plugins for each programming language, for example, PDT for PHP.
I recommend both for small projects, and for larger applications.
It is free.

I would not recommend using notepad. It does not depend on your ckills in koding, notepad just won't let you see all the syntax as it should be seen and it will be much harder to write a code. Taking in consideration how long HTML codes are.
I would personally recomend using Sublime Text 2, i've been using it since the begining. It is perfect both for beginners and experienced users featuring lots and lots of settings. It understands almost any traditional language. And it's also free :)

Related

Is there a program/shell where I can practice javascript? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I am beginner and I am teaching myself JavaScript with online tutorials. I can online type in what the tutorial asks me to type in for practice. However I want to be able to practice on my own, is there a website I can write in or a program I can download to practice.
I can program in Python but I know javascript is different in how compile.
You can use the built in javascript console which is available in most modern browsers or you can run javascript via the command line with node.js (and others).
I love using http://jsfiddle.net/ . It's my first stop when trying out new ideas in Javascript. That being said, you could just fire up a browser and/or node.js.
The nice thing about JSFiddle is the ability to keep a library of sample code you can refer to easily from anywhere, as well as the ability to share it with others.
Good luck!
I guess what you are asking is an online-editor where you can see the output as you change your code:
If that is so, may be use one of these:
Jsfiddle : http://jsfiddle.net/
OR
Jsbin : http://jsbin.com/
OR
simply use your browsers console
this is how you open your browsers console - https://webmasters.stackexchange.com/questions/8525/how-to-open-the-javascript-console-in-different-browsers
PS: JavaScript is a scripting language. it is not compiled into any other form. It simply gets interpreted and executed by the browser. :-)
Hope, this helps
You could use the node.js cli. Its a 1 click install, works on almost any system, and there are very few things you can't do in node that you can in client side.
Install http://nodejs.org/download/.
Go to command line and type node.
You are good to go.

PHP and MYSQL system (plus HTML,CSS&JS) [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I went for a 4 month degree php & mysql classes and we are almost done with them, and they ask us to make a system that you could add, erase, and modify the data that the user can put in it (but is harder than that, I have to do it as they said to me, with their parameters and etc.. ), the thing is that i don't know from where i have to start (I'm doing the HTML so the "user" can use the system easily, but when it comes to do the php, JS and MYSQL part im broke), and I hope there's someone here that could help me. I'm not asking for someone to do it for me, that's not my intention, but i really appreciate if someone could lend me a hand so i can dig in more and more in this php world.
Bye!
PS: If someone wants to help me, we can chat by skype, or something like that, because my English is not that good, and by text-post maybe you wont understand what i want to mean.
1 - Agree on a design pattern
Having a suitable and elegant design pattern will help improve your development, and in most instances, make it much easier - as the foundations will be set.
Design patterns
2 - Adopt version control
A good platform is Git. Specifically GitLab or GitHub. Adopting version control will improve your development, and help you keep track of everything you do, building a story.
3 - Don't use outdated technology
Please don't use the old MySQL database extention. Instead, adopt MySQLi or PDO-MySQL. Using the newer technology will make your application much more secure against SQL injections... See full argument
4 - Be smart
Design your database in to be smart. Normalise your data, and structure your queries nicely - use stored procedures where neccessary, and transactional queries.
When using Javascript within your application, it may be worth while to look into some libraries. The most popular (IIRC) is jQuery
5 - Use a framework
Judging from your question, it may be easier for you to adopt a framework, where help is available.
Laravel
Symfony
... There are more. Choose the best one for you.
Also, have a read of PHPTheRightWay

Tutorial or Book on implementing a metalanguage in Javascript [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I've been working in Javascript and PHP but I find that the hardest part isn't the implementation but the design of the webapp architecture [as usual . . .] In that direction, I wanted to create a sort of meta-language that takes PHP code as input but outputs JavaScript code thus making the design and implementation phase less painful [s.t. similar to GWT, Google Web Toolkit]. I found writing the this interpreter from scratch [parser, lexer, . . .] a viable option but an long one. Then I came across Processing.js [a library created by John Resig] where the user actually write java-like code that is transformed in Javascript by Processing.js then evaluated. I've searched the web for tutorials that introduces this powerful Javascript capability but didn't find even one! Can anyone PLEASE help me with any link, book title where I can get a least an intorduction? Thanx for your response!!!!
I would say your best deal would be to go with Haxe.
Haxe is a language that is designed to target (be exported) into the following platforms:
JavaScript
Flash
PHP
C++
Making it a very powerfull resource when creating web Apps as you can write in Haxe and have all your code ported to JavaScript, Flash, PHP or C++ without hassle.
Honestly, I think processing.js is not suitable for what you want, it was made to deal with the new canvas element, not the webpage.
Also, I think (honestly) think it sucks. They parse processing using Regex, it is totally wrong, you can't parse a programming language using Regex.
There is a javascript compiler compiler, called JS/CC, it is very easy to use, just learn the grammar and you can make a simple programming language.
But if you wanna make a complicated language (like processing, or php) by yourself, get ready for the nightmares.
PS: You'll need to know Javascript to implement a programming language in Javascript...
How about creating some PHP-functions that generate JavaScript-code? I do not think that you really need to write an interpreter for a custom script language. Ruby on Rails used to generate some JavaScript with simple Ruby-code, for example.

Some good websites to learn about JavaScript and programming architecture? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I'm not sure if 'architecture' is the correct term, but I've been looking for some articles online which talk about programming design and more about how best to use languages such as JavaScript in a code design sense rather than the actual syntax itself.
I have found many websites but a lot seem to be very out dated, and I'm not sure what developments have taken place with JavaScript over the years so do not know how old is too old.
If anybody could suggest some great websites, or maybe specific articles you think would be useful, that would be highly appreciated.
I am a beginner programmer currently using JavaScript with XML and of course HTML & CSS, and I'm currently trying to get further into and learn more about web development.
Must read:
Javascript: the good parts
Correct design, both in syntax as in 'real' code design.
Recently while researching for a JS architecture design project, I found these two presentations very valuable:
YUI Theatre Video: Nicholas C. Zakas — Scalable JavaScript Application Architecture
PureMVC Standard Overview Presentation
If you want a starting point, have a look at http://boilerplatejs.org which is a reference architecture for large scale javascript development. Disclaimer: I'm the author of it

Tools to enforce a coding style for Javascript [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I need to automatically check the style of javascript sources written by different people. Do you know of a good tool to do it? Integration with emacs would be a plus. Thank you in advance.
See EditorConfig. This tool is not limited to js though; You first install the plugin for your editor (there is an emacs plugin), and create a file named .editorconfig, whose content is the coding style.
I've recently updated the CodePainter project to work tightly with EditorConfig, so you can get the best of both worlds with JavaScript.
Please, spread the word. The project could use more traction and I could use more help.
Google JavaScript pretty print and JavaScript lint. Plenty of options, including JavaScript Lint and JSLint, among others.
There's also JSHint which has libraries for Rhino, JavaScriptCore, Windows Script Host and Ruby.
You're probably looking for the JS Code Sniffer: https://npmjs.org/package/jscodesniffer#a-standard

Categories

Resources