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.
    • 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
              • IT-ADMINI
                IT-ADMIN
                last edited by

                i do not want employees in the company to know which framework i'm using or to see the jqeury functions ....because this will give them the chance to discuss with the managment about our job, and non tech people will talk about something they are nor aware of, they do not know how to make a simple form but they can grab words from google and start talking, i hate this (like saying hey IT Boy why are you using jqeury and not angularJS, i will say shut the fu...k up)

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

                  @IT-ADMIN said:

                  i do not want employees in the company to know which framework i'm using or to see the jqeury functions ...

                  Too bad, that's how the world works. My mother in law would say "suck it up, buttercup".

                  The framework can't be seen, of course, but the JavaScript and HTML will always been seen.

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

                    @IT-ADMIN said:

                    i ....because this will give them the chance to discuss with the managment about our job, and non tech people will talk about something they are nor aware of, they do not know how to make a simple form but they can grab words from google and start talking, i hate this (like saying hey IT Boy why are you using jqeury and not angularJS, i will say shut the fu...k up)

                    You have users who are ....

                    • Non Technical
                    • Read Code
                    • Google random terms just to complain
                    • Have management listen to them?

                    If that's the case, management is out to get you and the rest doesn't matter.

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

                      @scottalanmiller that is the problem, they can see javascript function and how are you thinking and how are you coding

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

                        @IT-ADMIN said:

                        @scottalanmiller that is the problem, they can see javascript function and how are you thinking and how are you coding

                        No, they can see the resulting JavaScript created by the framework. They can't tell what you are thinking because you are not writing the JavaScript, right? It's just being output.

                        If your users can read that much code, they could make this tool themselves. So you have some super technical users who really hate you. This is crazy situation to have to discuss.

                        1 Reply Last reply Reply Quote 0
                        • 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
                                            • 1
                                            • 2
                                            • 9
                                            • 10
                                            • 11
                                            • 12
                                            • 13
                                            • 22
                                            • 23
                                            • 11 / 23
                                            • First post
                                              Last post