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

    Web Application VS Windows Application

    IT Discussion
    programming
    17
    450
    112.2k
    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
      last edited by

      hhhhhh, unfortunately i use javascript and jquery too much in my pages to manage forms and button events without refreshing the page or changing the url, kind of single window, similar to desktop app

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

        @IT-ADMIN said:

        hhhhhh, unfortunately i use javascript and jquery too much in my pages to manage forms and button events without refreshing the page or changing the url, kind of single window, similar to desktop app

        Well, if you do that, they are going to see your code, of course. Same with every webpage ever made. but they ONLY see your GUI code, nothing else. You are only looking at the GUI.

        If you were using any modern MVC framework they would see the code output by that, not by you.

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

          So in this case, your desire to skip the frameworks is creating the next layer of complications.

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

            i have a problem right now, i change the permission of var/lib/mysql (chown user /var/lib/mysql) in order to give myself permision in this folder, before i do that i stop mysql service, when start it again it said job failed, what the hell is that ??

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

              ooooof, finally it works, i restored the permission,

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

                for this reason you told me to not play with other servers, i will seperate things so that i will not run into issues like this

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

                  @IT-ADMIN said:

                  i have a problem right now, i change the permission of var/lib/mysql (chown user /var/lib/mysql) in order to give myself permision in this folder, before i do that i stop mysql service, when start it again it said job failed, what the hell is that ??

                  Don't do that! What did you change?

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

                    @IT-ADMIN said:

                    for this reason you told me to not play with other servers, i will seperate things so that i will not run into issues like this

                    That's one reason. Another is... even as a developer you should never want access to that folder. What were you trying to do?

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

                      i was stupid, i forget that windows mysql DB will not work on linux mysql DB, it was just a slip of mind 😝

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

                        i copied windows mysql BD into ubuntu mysql, i was out of my mind when i do that

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

                          @IT-ADMIN said:

                          i was stupid, i forget that windows mysql DB will not work on linux mysql DB, it was just a slip of mind 😝

                          What do you mean? They are the same thing.

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

                            @IT-ADMIN said:

                            i copied windows mysql BD into ubuntu mysql, i was out of my mind when i do that

                            Well databases should not just be copied around. But that it is Windows and Linux is not a factor.

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

                              you told i must have 2 servers one for apache and one for mysql, but i do not think that the project is of that size that we have to dedicate 2 VM only for this project, i think one is enough

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

                                @scottalanmiller said:

                                @IT-ADMIN said:

                                i copied windows mysql BD into ubuntu mysql, i was out of my mind when i do that

                                Well databases should not just be copied around. But that it is Windows and Linux is not a factor.

                                but i used to do this in windows, i copy the folder and paste and boom, it works,

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

                                  @IT-ADMIN said:

                                  you told i must have 2 servers one for apache and one for mysql, but i do not think that the project is of that size that we have to dedicate 2 VM only for this project, i think one is enough

                                  Why is "enough" a factor? VMs don't really work that way. Zero cost, really no footprint. I don't see "enough" being a word that applies here.

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

                                    but now when i do this it cause mysql to stop

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

                                      @IT-ADMIN said:

                                      @scottalanmiller said:

                                      @IT-ADMIN said:

                                      i copied windows mysql BD into ubuntu mysql, i was out of my mind when i do that

                                      Well databases should not just be copied around. But that it is Windows and Linux is not a factor.

                                      but i used to do this in windows, i copy the folder and paste and boom, it works,

                                      That's fine, but that doesn't imply what you concluded from it. Did you check that you were running MyISAM and not InnoDB? Did you verify the permissions? Did you verify the version numbers match?

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

                                        @scottalanmiller i mean RAM and CPU, because i do not have standby server right now, i planned to grab a normal computer and install ubuntu in it, that's all

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

                                          @scottalanmiller said:

                                          @IT-ADMIN said:

                                          @scottalanmiller said:

                                          @IT-ADMIN said:

                                          i copied windows mysql BD into ubuntu mysql, i was out of my mind when i do that

                                          Well databases should not just be copied around. But that it is Windows and Linux is not a factor.

                                          but i used to do this in windows, i copy the folder and paste and boom, it works,

                                          That's fine, but that doesn't imply what you concluded from it. Did you check that you were running MyISAM and not InnoDB? Did you verify the permissions? Did you verify the version numbers match?

                                          lol, it is OK i will not check anything, i will keep myself away from that server and just install a new version of ubuntu in another computer

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

                                            @IT-ADMIN said:

                                            @scottalanmiller i mean RAM and CPU, because i do not have standby server right now, i planned to grab a normal computer and install ubuntu in it, that's all

                                            But you should always be a VM, period. No exceptions. RAM and CPU do not grow much when you split the workload up. We are only talking about like 1GB total here, right? For two VMs? 2GB at maximum?

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