Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Mobile Development
  3. Android
  4. Building an ecommerce app/website

Building an ecommerce app/website

Scheduled Pinned Locked Moved Android
tutorialquestion
27 Posts 10 Posters 285 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J jschell

    Ben A Johnson wrote:

    learn to create a simple web application

    What you described is not simple. Simple would be just to get a web server up and responding to a request.

    Ben A Johnson wrote:

    what I need to learn

    1. Do you know a normal programming language? Java, C# and/or C/C++. But JavaScript might also work (but NOT using it only in a web page.) 2. Database. Doesn't matter which one. You don't actually need to learn a relational one (SQL) but I consider those more useful, but more difficult, to learn. 3. Basics of Web Servers: Server, Client, other misc stuff, like how IP works. 4. After you learn most of that then you need to get a basic web server up which usually requires some sort of 'web server'. Which one depends on what you learned above. 5. Then you need to learn how to deliver content to a Client. So for example how a browser sends a request then gets a response. After all of that then you could start, if that is your real goal (this forum) learning how to create a cell phone application. Such as one that runs on an Android phone. There are examples out there that would allow you to start from this step but it might not help if you do not understand at least some of the above.

    B Offline
    B Offline
    Ben A Johnson
    wrote on last edited by
    #9

    Thank you so much for all of your answers man. Really helpful a lot. Yes, I'm still learning about JavaScript and I have been doing some research on YouTube regarding how to build an ecommerce website/app using MySQL PHP. But I want to ask. So i saw a video where this guy create an ecommerce site (clothing site) with the abilities for customers to sign up and then edit their profile (shippinng address, avatar, phone number, so on), and the admin is also able to edit any product that he sells through the admin page of his site. What i want to ask is, when he opens his admin page (where he can edit all of his products, verify payment, verify whether the product has been shipped or not, etc) is that ADMIN PAGE MySQL? How did he create that admin page? Did he build it from a scratch? I'm sorry for asking this, but I still want to get a better understanding about how this ecommerce site works?

    J 1 Reply Last reply
    0
    • B Ben A Johnson

      Thank you so much for all of your answers man. Really helpful a lot. Yes, I'm still learning about JavaScript and I have been doing some research on YouTube regarding how to build an ecommerce website/app using MySQL PHP. But I want to ask. So i saw a video where this guy create an ecommerce site (clothing site) with the abilities for customers to sign up and then edit their profile (shippinng address, avatar, phone number, so on), and the admin is also able to edit any product that he sells through the admin page of his site. What i want to ask is, when he opens his admin page (where he can edit all of his products, verify payment, verify whether the product has been shipped or not, etc) is that ADMIN PAGE MySQL? How did he create that admin page? Did he build it from a scratch? I'm sorry for asking this, but I still want to get a better understanding about how this ecommerce site works?

      J Offline
      J Offline
      jschell
      wrote on last edited by
      #10

      There is nothing special about that page versus other pages. Any page does what the page does. Only difference there is that the page (and supporting backend functionality) was written to do that. Basic outline of functionality for a page

      browser => front end => business logic (of some sort) => database layer (of some sort) => database

      Everything else is in the the details. Since you mentioned PHP and MySQL you could look at LAMP. However I am not sure that is a good route for you to take at your experience level. But there might be some better tutorials now (versus very long ago when I looked to help.) If you go down that route then use Python rather than PHP since it is more widely used thus knowledge of it is more beneficial. LAMP (software bundle) - Wikipedia[^]

      B 1 Reply Last reply
      0
      • J jschell

        There is nothing special about that page versus other pages. Any page does what the page does. Only difference there is that the page (and supporting backend functionality) was written to do that. Basic outline of functionality for a page

        browser => front end => business logic (of some sort) => database layer (of some sort) => database

        Everything else is in the the details. Since you mentioned PHP and MySQL you could look at LAMP. However I am not sure that is a good route for you to take at your experience level. But there might be some better tutorials now (versus very long ago when I looked to help.) If you go down that route then use Python rather than PHP since it is more widely used thus knowledge of it is more beneficial. LAMP (software bundle) - Wikipedia[^]

        B Offline
        B Offline
        Ben A Johnson
        wrote on last edited by
        #11

        Hi I was just seeing a video on YOuTube explaining about MySQL and how it works with localhost XAMPP especially to create the database of data like products, customers, etc. What I want to know, Can I just learn about MySQL, HTML, CSS and JavaScript to make a fully working ecommerce website? And if I want to make an Android app of that ecommerce website, what else do I need to learn? Do i need to learn about React, Python and Java too (with Android studio)?

        L 1 Reply Last reply
        0
        • B Ben A Johnson

          Hi I was just seeing a video on YOuTube explaining about MySQL and how it works with localhost XAMPP especially to create the database of data like products, customers, etc. What I want to know, Can I just learn about MySQL, HTML, CSS and JavaScript to make a fully working ecommerce website? And if I want to make an Android app of that ecommerce website, what else do I need to learn? Do i need to learn about React, Python and Java too (with Android studio)?

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #12

          Ben A Johnson wrote:

          Can I just learn about MySQL, HTML, CSS and JavaScript to make a fully working ecommerce website?

          Not quite, as you need backend code to act as the interface between the web pages and the database. So you will need C#/VB.NET or PHP for that part. As to the Android system, you need to study some articles on Android development.

          B 1 Reply Last reply
          0
          • L Lost User

            Ben A Johnson wrote:

            Can I just learn about MySQL, HTML, CSS and JavaScript to make a fully working ecommerce website?

            Not quite, as you need backend code to act as the interface between the web pages and the database. So you will need C#/VB.NET or PHP for that part. As to the Android system, you need to study some articles on Android development.

            B Offline
            B Offline
            Ben A Johnson
            wrote on last edited by
            #13

            Thanks for your reply. Yes, I just saw a video explaining about the connection between HTML page, PHP and MySQL database? And how the login password or how user can register an account and then connect their data using PHP to our MySQL database using XAMPP. I wanna ask again. About MySQL. After we finish creating our database from user information, our products, etc using MySQL, do we need to upload these database (including our website with HTML, css and JavaScript) from our localhost (XAMPP) to our web hosting/server so the who ecommerce site can start operating?

            L J 3 Replies Last reply
            0
            • B Ben A Johnson

              Thanks for your reply. Yes, I just saw a video explaining about the connection between HTML page, PHP and MySQL database? And how the login password or how user can register an account and then connect their data using PHP to our MySQL database using XAMPP. I wanna ask again. About MySQL. After we finish creating our database from user information, our products, etc using MySQL, do we need to upload these database (including our website with HTML, css and JavaScript) from our localhost (XAMPP) to our web hosting/server so the who ecommerce site can start operating?

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #14

              You can host your database anywhere you like, although the logical place is on the webserver. And you would use that live database for all your account creation, i.e. users register on the site and then use their id and password for future logins. But, TBH, you seem to be trying to run before you can walk. You should start small and get a basic website working, with a simple front end page and a simple text file rather than a database at the back end. That would help you to understand some of the issues that need to be worked on. The internet, and indeed Web Development[^] here on CodeProject, has many articles and samples that will help you.

              B 1 Reply Last reply
              0
              • B Ben A Johnson

                Thanks for your reply. Yes, I just saw a video explaining about the connection between HTML page, PHP and MySQL database? And how the login password or how user can register an account and then connect their data using PHP to our MySQL database using XAMPP. I wanna ask again. About MySQL. After we finish creating our database from user information, our products, etc using MySQL, do we need to upload these database (including our website with HTML, css and JavaScript) from our localhost (XAMPP) to our web hosting/server so the who ecommerce site can start operating?

                J Offline
                J Offline
                jschell
                wrote on last edited by
                #15

                As said before and just with the last post... You cannot understand the big picture until you have at least some familiarity with some of the various parts. You need to pick a part and start learning just that part.

                1 Reply Last reply
                0
                • L Lost User

                  You can host your database anywhere you like, although the logical place is on the webserver. And you would use that live database for all your account creation, i.e. users register on the site and then use their id and password for future logins. But, TBH, you seem to be trying to run before you can walk. You should start small and get a basic website working, with a simple front end page and a simple text file rather than a database at the back end. That would help you to understand some of the issues that need to be worked on. The internet, and indeed Web Development[^] here on CodeProject, has many articles and samples that will help you.

                  B Offline
                  B Offline
                  Ben A Johnson
                  wrote on last edited by
                  #16

                  Thanks man for your reply. Yes you are right. I think i need to build simple website project for ecommerce first before jumping to the more difficult parts. I wanna ask by the way, so i found these 2 cool websites: Netlify and then 000webhost. And these 2 sites offers free web hosting for web projects and also Database with phpmySQL, and you can add your own domain there. what do you think about these 2 sites, are they legit and can be trusted for our professional web projects like serious ecommerce sites.

                  1 Reply Last reply
                  0
                  • B Ben A Johnson

                    Thanks for your reply. Yes, I just saw a video explaining about the connection between HTML page, PHP and MySQL database? And how the login password or how user can register an account and then connect their data using PHP to our MySQL database using XAMPP. I wanna ask again. About MySQL. After we finish creating our database from user information, our products, etc using MySQL, do we need to upload these database (including our website with HTML, css and JavaScript) from our localhost (XAMPP) to our web hosting/server so the who ecommerce site can start operating?

                    L Offline
                    L Offline
                    Lost User
                    wrote on last edited by
                    #17

                    I received the following message from you, but it does not appear in the forum here (maybe you deleted it):

                    Quote:

                    Thanks man for your reply. Yes you are right. I think i need to build simple website project for ecommerce first before jumping to the more difficult parts. I wanna ask by the way, so i found these 2 cool websites: Netlify and then 000webhost. And these 2 sites offers free web hosting for web projects and also Database with phpmySQL, and you can add your own domain there. what do you think about these 2 sites, are they legit and can be trusted for our professional web projects like serious ecommerce sites.

                    I cannot say whether either of those site will help you as I have no experience of them. However, as I and @jschell keep saying, you need to start with something simple. Forget about ecommerce as you are nowhere near ready to implement such a system. Just create a simple website that allows you to enter some data that can be checked by the backend. If necessary the backend can write it to a file so you can do some manual checking. You could host such a system on your own PC using IIS, which is part of Windows. I have such a system on my PC and it works fine as a test bed.

                    D B 2 Replies Last reply
                    0
                    • L Lost User

                      I received the following message from you, but it does not appear in the forum here (maybe you deleted it):

                      Quote:

                      Thanks man for your reply. Yes you are right. I think i need to build simple website project for ecommerce first before jumping to the more difficult parts. I wanna ask by the way, so i found these 2 cool websites: Netlify and then 000webhost. And these 2 sites offers free web hosting for web projects and also Database with phpmySQL, and you can add your own domain there. what do you think about these 2 sites, are they legit and can be trusted for our professional web projects like serious ecommerce sites.

                      I cannot say whether either of those site will help you as I have no experience of them. However, as I and @jschell keep saying, you need to start with something simple. Forget about ecommerce as you are nowhere near ready to implement such a system. Just create a simple website that allows you to enter some data that can be checked by the backend. If necessary the backend can write it to a file so you can do some manual checking. You could host such a system on your own PC using IIS, which is part of Windows. I have such a system on my PC and it works fine as a test bed.

                      D Offline
                      D Offline
                      David Crow
                      wrote on last edited by
                      #18

                      Richard MacCutchan wrote:

                      Forget about ecommerce as you are nowhere near ready to implement such a system.

                      I've been developing Android apps since around 2009 and don't even think I'd try tackling an eCommerce project. Now sending data to a database backend from an Android device...way easier.

                      "One man's wage rise is another man's price increase." - Harold Wilson

                      "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

                      "You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles

                      L 1 Reply Last reply
                      0
                      • D David Crow

                        Richard MacCutchan wrote:

                        Forget about ecommerce as you are nowhere near ready to implement such a system.

                        I've been developing Android apps since around 2009 and don't even think I'd try tackling an eCommerce project. Now sending data to a database backend from an Android device...way easier.

                        "One man's wage rise is another man's price increase." - Harold Wilson

                        "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

                        "You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles

                        L Offline
                        L Offline
                        Lost User
                        wrote on last edited by
                        #19

                        I agree, and have done both on a very small scale. I don't think the OP fully understands the issues involved, despite me and @jschell trying to point out some of the things that need to be understood.

                        1 Reply Last reply
                        0
                        • L Lost User

                          I received the following message from you, but it does not appear in the forum here (maybe you deleted it):

                          Quote:

                          Thanks man for your reply. Yes you are right. I think i need to build simple website project for ecommerce first before jumping to the more difficult parts. I wanna ask by the way, so i found these 2 cool websites: Netlify and then 000webhost. And these 2 sites offers free web hosting for web projects and also Database with phpmySQL, and you can add your own domain there. what do you think about these 2 sites, are they legit and can be trusted for our professional web projects like serious ecommerce sites.

                          I cannot say whether either of those site will help you as I have no experience of them. However, as I and @jschell keep saying, you need to start with something simple. Forget about ecommerce as you are nowhere near ready to implement such a system. Just create a simple website that allows you to enter some data that can be checked by the backend. If necessary the backend can write it to a file so you can do some manual checking. You could host such a system on your own PC using IIS, which is part of Windows. I have such a system on my PC and it works fine as a test bed.

                          B Offline
                          B Offline
                          Ben A Johnson
                          wrote on last edited by
                          #20

                          Thanks man for your answer. What do you think about PHP and mySQL. I heard that PHP is getting less and less popular these days, based on the trend. What do you think about that? Is that true? Can PHP still be promising to learn in the next 5 or 10 years? Or do I need to step on another programming language that can still connect to the database to our website?

                          L J 2 Replies Last reply
                          0
                          • B Ben A Johnson

                            Thanks man for your answer. What do you think about PHP and mySQL. I heard that PHP is getting less and less popular these days, based on the trend. What do you think about that? Is that true? Can PHP still be promising to learn in the next 5 or 10 years? Or do I need to step on another programming language that can still connect to the database to our website?

                            L Offline
                            L Offline
                            Lost User
                            wrote on last edited by
                            #21

                            Ben A Johnson wrote:

                            Can PHP still be promising to learn in the next 5 or 10 years?

                            Well, if I coild foretell the future I would be living on a Caribbean Island with a young blonde or two. Seriously though, you need to make these decisions for yourself. Use whatever systems are available now, that you understand, and actually get on with the work.

                            S 1 Reply Last reply
                            0
                            • B Ben A Johnson

                              Thanks man for your answer. What do you think about PHP and mySQL. I heard that PHP is getting less and less popular these days, based on the trend. What do you think about that? Is that true? Can PHP still be promising to learn in the next 5 or 10 years? Or do I need to step on another programming language that can still connect to the database to our website?

                              J Offline
                              J Offline
                              jschell
                              wrote on last edited by
                              #22

                              Ben A Johnson wrote:

                              I heard that PHP is getting less and less popular these days

                              I have been using the following site for years. Notice that their graph goes back to 2002. TIOBE Index - TIOBE[^] Years ago I track down how that site collects their data. Which seems much more reasonable than any other trend report which almost always seems to be based on something like 'we surveyed 50 companies and they said they will be using X in the next year.'

                              1 Reply Last reply
                              0
                              • B Ben A Johnson

                                Hi guys, i want to know, can you guys tell me what I need to learn to create a simple web application for ecommerce website (not a complicated marketplace app) like for example: "shoes website" with the abilities for customers to sign up and put the product into shopping cart and then check out with simple payment system like paypal?

                                T Offline
                                T Offline
                                Taazaa Inc
                                wrote on last edited by
                                #23

                                To create a simple web application for an e-commerce website like a "shoes website" with user sign-up, shopping cart functionality, and a simple payment system like PayPal, you would need to learn the following technologies and concepts: HTML/CSS: These are the foundational languages for building the structure and styling of web pages. HTML is used for creating the structure and content, while CSS is used for styling and layout. JavaScript: This is a programming language that allows you to add interactivity and dynamic behavior to your web pages. You'll need to learn JavaScript to handle user interactions, perform client-side validation, and manage the shopping cart functionality. Backend Development: You'll need to learn a server-side programming language to handle the business logic, data processing, and communication with external services. Some popular options are: Python: Using frameworks like Django or Flask. Ruby: Using frameworks like Ruby on Rails. PHP: Using frameworks like Laravel or Symfony. Node.js: Using frameworks like Express.js. Database: You'll need to understand how to work with databases to store and retrieve data. Some popular options are: MySQL PostgreSQL MongoDB (a NoSQL database) User Authentication: Learn how to implement user registration, login, and authentication to secure user accounts and manage sessions. You can use frameworks or libraries like Passport.js, Devise, or Django's built-in authentication system. Shopping Cart Functionality: You'll need to develop the logic for adding products to the cart, updating quantities, and removing items. This can be achieved through JavaScript and session management on the server side. Payment Integration: For a simple payment system like PayPal, you can use PayPal's APIs to handle payment processing. You'll need to learn how to integrate the PayPal API into your application and handle the payment flow. Web Server and Hosting: You'll need to understand how to deploy your web application on a web server and make it accessible on the internet. You can choose hosting providers like Heroku, AWS, or DigitalOcean. Security: Learn about web application security best practices to protect user data and prevent common vulnerabilities, such as cross-site scripting (XSS) and SQL injection attacks. Responsive Design: Ensure your website is accessible and looks good on different devices and screen sizes. Learn about responsive design techniques using CSS media queries. These are the core technologies and concepts you'

                                1 Reply Last reply
                                0
                                • B Ben A Johnson

                                  Hi guys, i want to know, can you guys tell me what I need to learn to create a simple web application for ecommerce website (not a complicated marketplace app) like for example: "shoes website" with the abilities for customers to sign up and put the product into shopping cart and then check out with simple payment system like paypal?

                                  M Offline
                                  M Offline
                                  Member_16032576
                                  wrote on last edited by
                                  #24

                                  Building an e-commerce app or website can be an exciting venture. The general steps you can follow to create your e-commerce platform: Establish your app's goals. ... Decide on your target audience. ... Determine the essential features. ... Choose the technology. ... Build the app's minimal requirements and features. ... Publish and Market the app. ... Keep building the app with your users' feedback.

                                  1 Reply Last reply
                                  0
                                  • B Ben A Johnson

                                    Hi guys, i want to know, can you guys tell me what I need to learn to create a simple web application for ecommerce website (not a complicated marketplace app) like for example: "shoes website" with the abilities for customers to sign up and put the product into shopping cart and then check out with simple payment system like paypal?

                                    I Offline
                                    I Offline
                                    IT Consultant Company
                                    wrote on last edited by
                                    #25

                                    To create a simple e-commerce site (e.g., shoes) with user sign-up, cart, and PayPal, learn HTML/CSS for structure, JavaScript for interactivity, a backend language (Python/Django, Ruby/Rails, or Node.js), databases, user auth, cart, payment integration, web hosting, security, and responsive design. Many online tutorials can guide you.

                                    1 Reply Last reply
                                    0
                                    • L Lost User

                                      Ben A Johnson wrote:

                                      Can PHP still be promising to learn in the next 5 or 10 years?

                                      Well, if I coild foretell the future I would be living on a Caribbean Island with a young blonde or two. Seriously though, you need to make these decisions for yourself. Use whatever systems are available now, that you understand, and actually get on with the work.

                                      S Offline
                                      S Offline
                                      Sernjijj Kabral
                                      wrote on last edited by
                                      #26

                                      Yes, I thought the clement, of programs were Spark, to define with.

                                      1 Reply Last reply
                                      0
                                      • B Ben A Johnson

                                        Hi guys, i want to know, can you guys tell me what I need to learn to create a simple web application for ecommerce website (not a complicated marketplace app) like for example: "shoes website" with the abilities for customers to sign up and put the product into shopping cart and then check out with simple payment system like paypal?

                                        S Offline
                                        S Offline
                                        Sabir11
                                        wrote on last edited by
                                        #27

                                        To create a simple ecommerce website like a "shoes website," you'll need to learn HTML, CSS for front-end design, JavaScript for interactivity, and a backend language like Python, Ruby, or Node.js along with a framework like Flask, Ruby on Rails, or Express.js for handling server-side logic. You'll also need to understand databases (e.g., MySQL, PostgreSQL) for storing user and product information, and integrating a payment system like PayPal using their API.

                                        1 Reply Last reply
                                        0
                                        Reply
                                        • Reply as topic
                                        Log in to reply
                                        • Oldest to Newest
                                        • Newest to Oldest
                                        • Most Votes


                                        • Login

                                        • Don't have an account? Register

                                        • Login or register to search.
                                        • First post
                                          Last post
                                        0
                                        • Categories
                                        • Recent
                                        • Tags
                                        • Popular
                                        • World
                                        • Users
                                        • Groups