Open source and compiled code?
13 minutes ago, Carlos1010 said:So this is the point of having a opensource? Using a third party app to adjust the page whenever you refresh it? You can do this with normal compiled code too. What is the point of a webpage/application being open source then?
All applications are basically open source code while you're developing them yes. However the point is that after you release it to the public if you do it open source anybody can use your code. If you do closed source then nobody can.
Some companies prefer to maintain control of their code and don't allow anybody to modify it. This requires a lot of resources to have people hunting down bugs and implementing changes.
If on the other hand your code is open source anybody can suggest and implement changes and bug fixes to your code. Also you can borrow code from someone else (and by the same token, others can use your code) meaning that you'd do a lot less work yourself.
Let's say you want to do a website open source vs closed source.
If you code everything yourself you have to start with your HTML and CSS. Then you have to add prefixes so your website looks the same on all websites. Also you have to code media screens so it looks good or adequate on different screen sizes (desktop vs tablet vs mobile phone for example). Then you probably want some Javascript to add a little bit of flare to your project. Then you might want some optimization. Every time you make changes you have to look at all of the files unless you develop a modular web design and well you have to code javascript to make that work, etc.
Or you could use open source and use grunt to configure a few javascripts that automatically get your prefixes working and install angular and with angular JS you'll have a quick way to implement a modular website design (You can even use less to use a modular CSS design too so you change your styles only for the parts you want). Back to grunt to join all of your code into just 3 files (HTML, JS and CSS) and you're done.
The difference is you putting up a week of work vs maybe 2 hours because you're using open source bits and pieces to automatize and do simple yet important tasks so you focus on just your design and code and not on reinventing the wheel. It's a real time saver and you have every coder's blessing to use their projects as much as you want and even for commercial deployments and such.

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now