ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Web Application VS Windows Application

    IT Discussion
    programming
    17
    450
    109.3k
    Loading More Posts
    • 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.
    • IT-ADMINI
      IT-ADMIN @scottalanmiller
      last edited by

      @scottalanmiller but i remember when i installed that linux application i type the following command (in their documentation)
      apt-get -y install php5-gd php5-mysql php5 php5-cli apache2 libapache2-mod-php5 tshark mtr mysql-server php5-mcrypt librsvg2-bin gsfonts

      so i think this command installed mysql not MariaDB, so i have to upgrade or something ??
      i fear if i change mysql to MariaDB, this application will stop

      scottalanmillerS 1 Reply Last reply Reply Quote 0
      • scottalanmillerS
        scottalanmiller @IT-ADMIN
        last edited by

        @IT-ADMIN said:

        oh great, so what a about connecting to MariaDB, is it the same as mysql, the syntax, is it similar to mysql in every aspect ?? if no what are the differences ??

        It IS what everyone calls MySQL. All tools are the same. You dont' need to know that it is MariaDB at all. No differences at all.

        1 Reply Last reply Reply Quote 0
        • scottalanmillerS
          scottalanmiller @IT-ADMIN
          last edited by

          @IT-ADMIN said:

          @scottalanmiller but i remember when i installed that linux application i type the following command (in their documentation)
          apt-get -y install php5-gd php5-mysql php5 php5-cli apache2 libapache2-mod-php5 tshark mtr mysql-server php5-mcrypt librsvg2-bin gsfonts

          so i think this command installed mysql not MariaDB, so i have to upgrade or something ??
          i fear if i change mysql to MariaDB, this application will stop

          Most systems call MariaDB MySQL so that people don't learn new names.

          1 Reply Last reply Reply Quote 0
          • IT-ADMINI
            IT-ADMIN
            last edited by

            even if apt-get install mysql not apt-get install MariaDB ??

            scottalanmillerS 1 Reply Last reply Reply Quote 0
            • scottalanmillerS
              scottalanmiller @IT-ADMIN
              last edited by

              @IT-ADMIN said:

              even if apt-get install mysql not apt-get install MariaDB ??

              Correct. Unless you are on a really old version of Ubuntu. What's your version?

              1 Reply Last reply Reply Quote 0
              • IT-ADMINI
                IT-ADMIN
                last edited by

                14.04

                scottalanmillerS 1 Reply Last reply Reply Quote 0
                • scottalanmillerS
                  scottalanmiller @IT-ADMIN
                  last edited by

                  @IT-ADMIN said:

                  14.04

                  Just as a side note, I'd update to current before you start a development project. No reason to be so far behind, and when developing it is that much more important not to rely on old stuff.

                  1 Reply Last reply Reply Quote 0
                  • scottalanmillerS
                    scottalanmiller
                    last edited by

                    I'm looking, I've not used that old of Ubuntu is a while (year and a half about) and never run MySQL or MariaDB on Ubuntu. I know that Fedora moved to MariaDB in Fedora 19 and RHEL moved with RHEL 7. From what I can tell, Ubuntu might still be actually installing "old" MySQL by default, at least in the 14.04 era. How sad. Well, if that is what is default, that's fine.

                    1 Reply Last reply Reply Quote 0
                    • IT-ADMINI
                      IT-ADMIN
                      last edited by

                      i installed 14.04 because it is a prerequisit in the doc of that software, for this reason i insalled that

                      scottalanmillerS 1 Reply Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller @IT-ADMIN
                        last edited by

                        @IT-ADMIN said:

                        i installed 14.04 because it is a prerequisit in the doc of that software, for this reason i insalled that

                        Of which software? I must have missed something.

                        1 Reply Last reply Reply Quote 0
                        • scottalanmillerS
                          scottalanmiller
                          last edited by

                          If you are going to develop an application for internal use, you are going to put it on its own server, of course, right? So you would be starting with a VM that isn't used for any other purpose.

                          IT-ADMINI 1 Reply Last reply Reply Quote 0
                          • IT-ADMINI
                            IT-ADMIN @scottalanmiller
                            last edited by

                            @scottalanmiller ah ok, that is a good idea, because i had the intention to use the preexisting server, but now i changed my mind and just grab a new VM and do the dev on it

                            scottalanmillerS 1 Reply Last reply Reply Quote 0
                            • scottalanmillerS
                              scottalanmiller @IT-ADMIN
                              last edited by

                              @IT-ADMIN said:

                              @scottalanmiller ah ok, that is a good idea, because i had the intention to use the preexisting server, but now i changed my mind and just grab a new VM and do the dev on it

                              Yes, every task should be on a discrete server. You never want to mix things unless absolutely necessary.

                              I'd start with Ubuntu 15.10 as a minimum. Ubuntu 16.04 is just a month away. And you can consider not using Ubuntu as well, but nothing wrong with Ubuntu.

                              1 Reply Last reply Reply Quote 0
                              • IT-ADMINI
                                IT-ADMIN
                                last edited by

                                ok thanks for the advice

                                1 Reply Last reply Reply Quote 0
                                • IT-ADMINI
                                  IT-ADMIN
                                  last edited by

                                  by the way is there any way to prevent users from viewing the source code of the php application ??

                                  scottalanmillerS 1 Reply Last reply Reply Quote 0
                                  • scottalanmillerS
                                    scottalanmiller
                                    last edited by

                                    For development you might also want to have the database server separate from the application server to reduce the chance of coding in dependencies.

                                    1 Reply Last reply Reply Quote 0
                                    • scottalanmillerS
                                      scottalanmiller @IT-ADMIN
                                      last edited by

                                      @IT-ADMIN said:

                                      by the way is there any way to prevent users from viewing the source code of the php application ??

                                      How would users ever see it? You should not need to prevent it as it shouldn't even be possible.

                                      1 Reply Last reply Reply Quote 0
                                      • scottalanmillerS
                                        scottalanmiller
                                        last edited by

                                        I assume that you mean the application users. Users on the server have access to what you give them access to see.

                                        1 Reply Last reply Reply Quote 0
                                        • IT-ADMINI
                                          IT-ADMIN
                                          last edited by

                                          no, i mean when someone open the web application they can right click and select inspect source code, how to prevent that ??

                                          scottalanmillerS 1 Reply Last reply Reply Quote 0
                                          • scottalanmillerS
                                            scottalanmiller @IT-ADMIN
                                            last edited by

                                            @IT-ADMIN said:

                                            no, i mean when someone open the web application they can right click and select inspect source code, how to prevent that ??

                                            You can't. But that's not the source of the application, that's the source of the web page. There isn't any PHP in there. You can never prevent people from seeing the source of a web page, its fundamentally not possible nor would you ever care. If you want to prevent that, there is something else wrong.

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 22
                                            • 23
                                            • 5 / 23
                                            • First post
                                              Last post