Web Application VS Windows Application
-
@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 gsfontsso 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 stopMost systems call MariaDB MySQL so that people don't learn new names.
-
even if apt-get install mysql not apt-get install MariaDB ??
-
@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?
-
14.04
-
@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.
-
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.
-
i installed 14.04 because it is a prerequisit in the doc of that software, for this reason i insalled that
-
@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.
-
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.
-
@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
-
@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.
-
ok thanks for the advice
-
by the way is there any way to prevent users from viewing the source code of the php application ??
-
For development you might also want to have the database server separate from the application server to reduce the chance of coding in dependencies.
-
@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.
-
I assume that you mean the application users. Users on the server have access to what you give them access to see.
-
no, i mean when someone open the web application they can right click and select inspect source code, how to prevent that ??
-
@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.
-
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)
-
@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.