Web development [closed] - javascript

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
First of all hi to all, I am new at web development and I have some questions. I have started a web site few weeks ago(html,css,js) and now I don't know how to continue. what is the next step for my project and how can I practice without publish it in a server? Nowdays I am learning php and ruby but it is more complex to understand the back end of a web site.

Since you have already started a website, add more functionalities to it. This way, you can enhance the project and at the same time learn new things as you develop. For example, if the project is in HTML, learn Bootstrap and implement the same to the project. You can publish various versions of the project. If you do not wish to publish, you can work on it locally too.
You mentioned that you are learning PHP. Why not just throw in some data to the HTML using PHP and perform some CRUD operations on it? That would be a great way to learn!
https://www.w3schools.com/ is a great website to learn.
Wish you Goodluck and I hope I helped!

Related

Stuck with frontend. Need help to connect to backend (Node.js/Express/MySQL) [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 days ago.
Improve this question
I am having some trouble with understanding the backend in a web architecture.
I have done my front webpages with css but i did not put any javascript.
The assignment requires me to use Node.js, Express, Mysql to build a login system, display of resources when requested.
Here are some questions i am still figuring out.
How do i connect my frontend to my backend?
Am i suppose to have some form of javascript in the frontend for connection to backend?
How does a web api play apart in this project?
Apologies for my open ended questions as i don't know what i don't know.
Thank you for your help guys.
I would appreciate if you have any online links for me to study into it.
I am currently stuck with just a HTML and CSS file.

Which one do I choose [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 2 years ago.
Improve this question
I'm about to create a web application first but even though I manage the development with rails, graph and react. should I use python thinking more in the future of the application, if it grows in time? Or if you know about a technology stay first with it for development and then migrate?
Couple of option you can choose for web application
Use GRAND Stack : GraphQl +Reactjs + Apollo server+ Node js + Neo4j(instead of this use any other database which you are comfortable)
If web app event based : Then user Nodejs as server-side technology (MERN)
If web app as Data-computation/ Algorithms solution : then Go we React(Front end) +Nodejs(orchestration/ Middle layer) + Python(application layer/or back-end )+ any DB
Yes, i say every framework is good enough, in the long run every thing comes down to one question, how efficient code did u write?
Django
You can use django if you are interested in python. It is a famous framework which has its own ORM and many security built in features another option is flask
I will share my experience.
Recently, coded a website in laravel 5.5, at first everything was fine but when the number of user(s) grew to >50k. The site became slow and my servers showed 100% cpu usage. Later i changed the code, tried to remove nested loops, optimized my queries and used cache technologies like memchached. The site is working fine now.
i hope that answers your question.
I hope the best for you,
Happy Coding

JavaScript or React - database security in single-page website [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 3 years ago.
Improve this question
Welcome stackoverflow community.
I'm doing small project, simple single-page website. It will also contain contact form which takes user to different page. I decided to create a database since on website I will do few responsive features ie. booking calendar where occupied dates won't be available. I wrote all my projects in vanilla js so far. I'm wondering that adding react to this project will be overkill.
I did research and know roughly cons and props for using it but I couldn't find answer if react gives you some extra safety features comparing to using vanilla js over attacks to website, and if yes, does it makes sense to write whole project in react just for those features?
Many thanks for any feedback.
I don't think you should be rewriting your app in react just for security. If you have any sensitive information. You should be keeping it on the server and not on the front-end.
For a small project. Vanilla JS can be enough. React is just for helping you manage and create UI components. It will not give you any extra security as it is still javascript in the end.

Which is the best way to make web application? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 5 years ago.
Improve this question
I'm new to web development and I want to make some small web applications like a video downloaders, an document converter, and that sort of apps. I know that I can use either a JavaScript framework (react, vue, or angular) or php (laravel) but I'm confused which one is best suited for this situation.
I don't know if the this is the right place to ask this kind of questions but I want to know your opinion, so should I go with JavaScript or go the php route? I'll appreciate you help guys and thanks.
This is a very subjective question. Personally I'd recommend NodeJS or PHP as I'm not a big fan on PHP for my own subjective reasons.
My recommendations:
NodeJs: Great ecosystem, lots of shared knowledge
Use Webstorm from Jetbrains
Learn about docker, use it and make your deployments easy
Use something like Heroku until you establish it's limitations for you then you'll be better equipped to understand why you want to host another way.

How to understand the relationship of Nodejs, SPA and API? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
Recently I attended a presentation of SPA/API/Nodejs, it looks good, so I start to google a lot and try to figure out, but get confused more.
It seems that in a SPA website, when use click, for example, a user's profile, it will call some API like http://example.com/profile/username and get a JSON data and will be displayed.
And I found a lot of frameworks, express.js/meanjs/Mojitojs/angularjs/reactjs and so on. really get lost.
So I'm going to develop a website, which will not be a SPA, but I really like Nodejs, so I'll use nodejs and i also like the idea of API to get data and display.
Can you recommend some framework to start?
SPA Frameworks: AngularJS, React.js
Node.js Webserver frameworks: Express.js, Meteor, Sails.js
You can also check Yeoman generators which help you to create a project skeleton.

Categories