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

    Web Application VS Windows Application

    IT Discussion
    programming
    17
    450
    108.1k
    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.
    • S
      scottalanmiller @IT-ADMIN
      last edited by

      @IT-ADMIN said:

      so ok, now for the DBMS we know that mysql on ubuntu is better than the one in windows and better than MS SQL Server, great

      Yes, and MySQL on Ubuntu is MariaDB.

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

        @IT-ADMIN said:

        also there is a software called lamp (similar to wamp in windows)

        LAMP is what there always was. WAMP was copying the Linux ecosystem to Windows for people who just refused to leave Windows. WAMP is a horrible idea 🙂 Even Microsoft would say that.

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

          @IT-ADMIN said:

          i guess installing apache and mysql seperatly is more reliable than just install this ready to use application (i guess lamp only for testing and dev, in production envirnemnt we have to install things seperatly, isn't it)

          WAMP is not a package, it is installing the components separately.

          LAMP on Ubuntu is this command...

          apt-get install mariadb httpd php
          

          That's it.

          D I 2 Replies Last reply Reply Quote 0
          • I
            IT-ADMIN
            last edited by

            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 ??

            S 1 Reply Last reply Reply Quote 0
            • D
              Dashrender @scottalanmiller
              last edited by

              @scottalanmiller said:

              @IT-ADMIN said:

              i guess installing apache and mysql seperatly is more reliable than just install this ready to use application (i guess lamp only for testing and dev, in production envirnemnt we have to install things seperatly, isn't it)

              WAMP is not a package, it is installing the components separately.

              LAMP on Ubuntu is this command...

              apt-get install mariadb httpd php
              

              That's it.

              Sure you manually have to install the components separately on Windows, but that command installs three things on Linux, you just are fortunate and able to install all of them in one command.
              They are still three separate things.

              1 Reply Last reply Reply Quote 1
              • I
                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

                S 1 Reply Last reply Reply Quote 0
                • S
                  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
                  • S
                    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
                    • I
                      IT-ADMIN
                      last edited by

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

                      S 1 Reply Last reply Reply Quote 0
                      • S
                        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
                        • I
                          IT-ADMIN
                          last edited by

                          14.04

                          S 1 Reply Last reply Reply Quote 0
                          • S
                            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
                            • S
                              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
                              • I
                                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

                                S 1 Reply Last reply Reply Quote 0
                                • S
                                  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
                                  • S
                                    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.

                                    I 1 Reply Last reply Reply Quote 0
                                    • I
                                      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

                                      S 1 Reply Last reply Reply Quote 0
                                      • S
                                        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
                                        • I
                                          IT-ADMIN
                                          last edited by

                                          ok thanks for the advice

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

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

                                            S 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 8
                                            • 9
                                            • 10
                                            • 11
                                            • 12
                                            • 22
                                            • 23
                                            • 10 / 23
                                            • First post
                                              Last post