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 7 years ago.
Improve this question
I'm working to a project and my aim is to create an html page to view the train/bus/tram timeboards.
So there is one html page for back-office(for the company) and one page for front-office(for the customers).
The company wants to change files in the page (pdf/links that can be viewed inpage) from back-office.
How can i manage the informations between back-office and front-office by using some simple stuff/programming languages?
Anyone has an idea?
Substantially I want to do something like this for front-office view:
http://codepen.io/anon/pen/NGxrQp <--Check this
OR
http://jsbin.com/mawevuwi/1#tab4
And then something more simple for back-office.
PS: I'm new at stackoverflow and sorry for my bad english explanation.
A back-office should be able to add, edit or delete content. Therefor you should use dynamic webpages, not static. You can use a database to store values. Make the front-office read-only and you're done.
You could also use a Content Management System (CMS) like WordPress.
Some more info:
A static webpage only shows what's in the files. A dynamic webpage could show you generated data or data not in the file itself but from a database for example. Databases use SQL (Structured Query Language). The 4 operations are abbreviated as CRUD:
Create
Read
Update
Delete
I recommand you start learning SQL & PHP if you want to continue with this. Other languages (rather than PHP) are possible.
Related
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 last year.
Improve this question
I’m a front end dev on my way to backend and this is a personal project. It was meant to be static so all users see the same information on their page but now I want to be able to change some details based on the clients who signs up. For example. All users were meant to see a $20 bill for a community project but now I want to be able to increase or decrease that amount on different client user page.
Ok peww. I can't explain all of it in one single post but what are talking about is a database and backend code like php or node.js etc....
is a dynamic website rather than static cuz things change
if you want to take time and learn about it i recommend you check youtube 'Dani Krossing is a good php teacher ' or w3schools both have great free courses but if you dont want to spend time learning and you need your project done like today you will need a backend dev to help you learn and do it for you.
I am not advertising myself but if you want i will do it for you for free cuz i like working on random projects.
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
Could you please suggest me what functionality I should use to get a document (containing a few lines of text) in a MongoDB collection and place it in an html form using JavaScript/Angular?
So, first I need to query the MongoDB from inside an angular script. Is there a simple way to do this, like for example in python, using pymongo to connect to a database?
And second I need to place the output of the query to an html form. Seems easy, but are there any bottlenecks I can face?
Sorry for silly question - this is my second day of web-development
Firstly for getting data from database you need to write server side code. You may write it in nodejs or any other language of your choice. Then in that code you have to make query to database and expose that data using REST apis. Then inside of your angularjs application you will have to consume that rest API and then show the data onto the html page.
Happy learning. Cheers!
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 am starting a side project to learn more about interactive web designs.
My idea is to ask the user for his favorite movie and return 4 of the most frequently appeared adjectives when the movie's name was googled.
I have created an input field and submit button, but besides that, nothing else has happened, as I don't know what my next step should be and what tool I would need.
Is there anything similar that has been done before? Perhaps I can gain some insights in these examples if they exist. Thanks!
There are many ways to do this, best way is to use an MVC structure but since you are just starting off, you may do this using javascript and localstorage, start with some simple application like creating a register and login form, storing datas in local storage and retrieving them. Once you get used to these, move on to learn any mvc structure.
Follow these steps :
Design Database with respect to movies, ratings and search words
Connectivity front end with the database
show grid of results
For development you can use any MVC framework or custom framework like
CodeIgniter
Laravel
Cake
Or you may start with front end technologies for example :
angular.js
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
What are the pros and cons of different methods of including data from a database on your webpage?
From my understanding I have two options. A html page, with JavaScript (or other browser language) that fetches and includes data. A php script (or other server based program) that builds and outputs an html page with the data already included. But how am I to made the decision between the two?
Always go for PHP when using a database. It is a more robust and proven technique.
Also PHP pages are protected by the server and nobody can see how the code works, they only see HTML output, whereas with Javascript anyone can see your code.
After all I don't know how JS supposed to interact with data, maybe store data in an XML page and then retrieve them, not sure. Why invent a wheel when you have PHP which is supposed to work with databases unlike JS which is designed mostly to be an improved front end functionality, unless its back end JS, but few people use JS that way.
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 8 years ago.
Improve this question
I'm interested in creating my own comments box for my website. I want it to be very similar to facebook's commenting system. How difficult would this be and what language is the best for something like this? Also, could someone point me towards some documentation that would help me learn how to do something like this?
Using Rails for the back-end, but could build the box with php preferably using heroku or mysql databases.
If you want to create comments box like Facebook, then you will have to use some server sided scripting technology like PHP, Servlets or any other which does the same thing as these do.
And you will also have to learn DATABASES like mysql, Oracle, Microsoft SQL, etc.
Since these will be used to store comments and retrieve Comments.
My suggestion will be use PHP And MySQL because they are free to use and you can learn these from W3Schools.com.