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
Good day all!
This is a novice question and any help I can get will be GREATLY appreciated! I want to make the system as described below, but have NO idea where to start!
At the core of my project I want to design a website that fulfills these criteria:
People navigate to it on their web browsers
They will log in with an account/password
They will enter data into a text field
Their input should be parsed before submission
They hit 'submit' and that data gets pushed into a database of their information
They can download all their information as a text file by clicking 'download archive'
The things that I expect to be an issue of which I haven't a clue how to tackle are:
How to manage an authentication username/password system
Save user information to a database and have that database queued for user data by the webpage
How to submit data from a webpage and have it stored on a remote server
How to set each of these servers up and what platforms (SQL for database, ASP .NET for site, ruby on rails for data processing, etc...) I should use
THANKS! Any constructive input is appreciated
Rails itself will take care of your criteria 1 to 5. However, you need to spend a few more effort to export data from database and save it as a text file. You may also use devise as a better solution for authentication (criteria 2) and Simple Form (just google simple form rails. Sorry I don't have enough reputation to post more than 2 links) to handle forms more easily (criteria 3).
If you are new to rails, I recommend you to read the first few chapters of Agile Web Development with Rails or this online tutorial.
These will also cover your issues 1 to 3. For issue 4 you could use whatever (mysql, postgresql, sqlserver, etc.) you like as the database, you can choose rails build-in web server (webkit) or thin as a server for development; for production app, you may use a combination of apache/nginx and passenger. These are just a few suggestions. Of course there are more options out there. Choose what fits you best :)
Since your question is too broad, I can only post some resources to help you start. Check out the tutorials first until you get the hang of rails. Then check out other gems which could save you tons of time and could also help you build a more robust system.
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 6 years ago.
Improve this question
I want to build a web Base application for accounting company with large amount of data that doing task like following
1-login page.
2- Inquiry account Details like (Account Owner Name, Account number, Balance, date,..personal information and account information.. etc ) by entering the primary key account number and then display to user some details
3- reports something like this example of Datatable
and these reports should be exported to excel file or PDF file (I don't know if that possible in some way)
Notes
the system is running with oracle data
I want to know if using PHP to enhance the security and ajax technique to enhance the preference of querying data is good way to design my web base application or should I use something better
finally I you don't mind to give me a good explained example for above ideas or
for the suggests ideas specifically example that using liked to oracle database
I searched and found examples that use PHP ajax and jquery or bootstrap with MySQL
I also want to know what the difference between them and which is better in my case
I would do it like this, because I feel comfortable with those languages, this kind of application can be created in a lot of languages, so why not go with those you are good at ->
Backend: PHP, mysql
Frontend: html, css, js, bootstrap
I would use ajax if there is need for posting data and updating elements without refresh.
But this is just me, do it with what you feel comfortable, but prepare everything before u start, create ER model for database based on as much info you can get, create business logic process and procedures before you start coding so you do not end up writing the same code multiple times.
Hope this helps
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 6 years ago.
Improve this question
First i'll say that I have only a minor knowledge about programming in PHP, MySql, Html and js.
Until now I have made some programs with Ms-Access and vba, and some projects on Google App Script with google script...
Now, I have some simple programs I have made with MsAccess but i want to transform them to be Web Based.
I want to build them again from zero, but, like I said before, I dont know really where to start.
I have tried to search on the web, a various of programs or software to help be to build it easily, but i got completely confused.
I have found beautiful responsive Bootstrap themes with the look i'm searching for, but nothing really programmed with I need (connecting to MySql, add rows, pulling data, etc.).
Here are my needs, except the looking:
Customers management - Add / update / delete / show / search customers
Tickets management - related to customers and again - Add / update / delete / show / search Tickets
Web forms
Printing or sending by mail pre-filled forms / invoices (like reports in access)
An easy Dashboard for all users
Users management - Add / update / delete / show / search / configure privileges for Users
Edited question:
Do anyone know of any kind of a full example in php or js where I can copy such code blocks as described above ?
I can mange the rest, I want to start from somewhere...
Thank you for you time.
If you are wanting customization to this level you will need to invest copious amounts of time and labor into learning PHP and subsequent libraries, such as utilizing PDO for ODBC work. Do note that the details your provided suggest the scope of this project to be quite large.
However, if you're looking for an out-of-the-box solution you may be better suited asking the Software Recommendations community at https://softwarerecs.stackexchange.com/.
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
first of all, sorry for bad english. Please correct me if I write something wrong!
I'm a "noob" in the programing scene, so I need some help. I want to help my mom to automate a process at her bussines. The core thing I need to do are this:
I need to extract info from a webpage (it's an php webpage), and compare the products that arrive with the one's displayed in the webpage. I want to do that scanning the bar codes of the products (I've a database of all the products barcodes). Then I need to save the comparission in a file just to make sure that everything is ok. I want to know wich languague is better for my case. (Then I will try to do it, fail, learn from my mistakes and then have some "stable" program to do this)
TL;DR: I recive products, I check if everything arrived in a website. I want to do that using bar codes and "automate" the process. I want to know wich languague is better for my case.
Thank you!!
As others pointed out in the coments, there is not best language, you need to chose the one that fits you.
But let me give you some recommendations on what might work.
You said that the site is already in PHP, that's the backend language. You should keep using it since a part of the site is already built with it. Other options are JavaScript using NodeJS, Python, Java, Ruby.
You can do almost everything you need in the backend (server side) using PHP, but some things might be better to solve them in the client side (front end) using JavaScript, is the default language that runs on the browsers.
Usually you use the backend language to serve pages, interact with a database, send data to the client. And the front end (JavaScript) to add dynamic functionality to your website.
Web apps used to depend a lot on the backend, reloading the page for every action, sending a lot of information back and forth.
The modern aproach to build web apps (like yours) is a bit more dependant on JavaScript. You load the page once and then just do AJAX (Asynchronous JavaScript and XML) requests to the server asking just for the information you need and showing it dynamicly with out reloading and having to load the HTML/CSS all over again. Many frameworks like Angular, React (with its whole ecosystem), help you a lot with it.
Read more about it here.
EDIT: just to clirify, I answered with some recommendations and opinions because it is what the question asks for.
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
How would you make it so that a user is able to check their account information that is saved in the database and edit it? Let's say a user clicks on their account info page, it would display something like:
Username [abc]
Email: [aba#aba.abc]
Age: [20]
[Save Button]
When the user loads up the page, they would be able to see their information for those specified fields from the database. However, all this information would be in editable field that could be re-typed and saved.
So how would I go about doing this? What would this look like in PHP? I do not know how to display data from the databse onto a page, and I would imagine I would ned to do that. Also, does this data (that is being displayed on the page) need to be sanitized like how it was when the account was created?
There are many ways to approach this and unless necessary theres no need to reinvent the wheel.
A good place to start would be looking at the many open source projects that are out there such as:
UserFrosting - Modern user management for PHP #http://www.userfrosting.com
PHP Login #http://www.php-login.net
Alternativley frameworks such as Laravel, Yii2 and Symfony are a good environment to build these sort of systems in. With Laravel for example almost everything is configured for you out of the box. The authentication configuration file is located at config/auth.php, which contains several well documented options for tweaking the behavior of the authentication services.
After looking at these if you did decide you wanted to start from the ground up with your own design then there are many good in depth tutorials freely available online such as http://www.ineedtutorials.com/code/php/complete-advanced-login-member-system-php-tutorial
I hope my reply helps.
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 9 years ago.
Improve this question
This will be a total novices question, but I am looking for advice.
My apologies, In the post as I failed to mention that the database that I am working on is MySQL.
I know absolutely nothing in regards to any technologies that retrieve or get information from a database. The only 3 facts that I know is that it can be done by either PHP or HTML5, I should be able to pick it up and that I will make many mistakes
Could the community suggest which would be the better technology to learn and would any be able to suggest a starting point?
Yours in advance
Keith
In order to retrieve database information, you generally only need a database such as MySQL - and a client to perform your queries (fetching data from the database).
Your client could be anything, a commandline tool or a PHP script opening a connection to your database and performing the desired queries.
Fetching data alone will not get you very far unless you can display that information somewhere, or even provide access to it or (if desired) allow users to interact with it.
Basically, if you want to retrieve database information and show it on a website, your minimum requirements would be HTML, a database server, a database (preferably with some data to run some tests with) and some kind of scripting language (such as PHP).
There are numerous tutorials out there on how to make your first steps with this.
Here is one.
Start with PHP + MySQL. There are a lot of manuals and examples over the Internet. Google it.