Details
Joined devRant on 5/8/2018
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
@sSam That is the name of the input, the two inputs would get POSTed to the back-end as an array with title and price items.
This is standard practice, nothing out of the usual. -
@M1sf3t @polaroidkidd e.g
<input name="product[name]">
<input name="product[price]">
On the back-end I would directly fill the entire product array into my Product model, since I have a name and price property. -
@h4xx3r Nope, we're talking about grouping form inputs into an array 😆
-
@Fantomias It's a meme dude lol
-
@electrineer Yeah, the client-side is slow and buggy because of PHP. Definitely not JavaScript.
-
@sbiewald @irene Here are some benchmarks:
https://benchmarksgame-team.pages.debian.net/...
Feel to google for more benchmarks yourself, the results are similar.
Python and Ruby are both mediocre performers, so I don't see why this suprises anyone. -
@Engrossing Just as @ethernetzero said, Python is more beginner friendly than Java. Less boilerplate and easier to grasp syntax.
-
@Kristiyan Node.js was released almost 10 years ago, I'm not sure that qualifies as "very new" anymore. In the specific use case of Netflix, Node is more suitable, but in other cases PHP is a better choice.
Of course, we know all of the programming stereotypes - Ruby is slow, PHP is ugly, Python is for wannabe script kiddies, WordPress security sucks etc. In the end of the day, if you keep it up to date and don't use insecure third-party plugins you won't have any issues whatsoever.
Since WordPress powers as much as 20% of the internet, it is obviously a priority for hackers and exploiters, when compared to a Node.js CMS such as Ghost, which powers less than 0.1% of websites.
:) -
> Printing your code and sticking it on the wall
-
I use arch btw
-
How do you spot an Arch user at a party?
Don't worry they'll tell you. -
Python and JavaScript are programming languages. Computer Science is a degree specialization.
-
@irene It's a hilarious title, but it couldn't be any more true.
-
@linuxxx Honestly, that's a pretty weak argument, since I doubt you'll be going through the codebase of every single project you use, which may be in the hundreds of thousands of LOC.
There's also other factors, that you are not taking into consideration.
Here's some resources that you will find educational, on the topic of open source security.
"I’m harvesting credit card numbers and passwords from your site. Here’s how."
https://hackernoon.com/im-harvestin...
"Developers as a malware distribution device"
https://youtube.com/watch/... -
@linuxxx The fact that the code of open source software is public makes it much easier to find and exploit existing vulnerabilities, when compared to proprietary software.
-
@linuxxx As if open source projects have never had security vulnerabilities?
-
@Stuxnet Never said it was the one of highest quality, I simply said it was the second most popular after Google.
-
@Stuxnet Bing is the second most popular search engine. That's why I used it as an example.
-
You Bing it.
-
@linuxxx The majority of the software in the world is not open source, by only using open source software you're limiting yourself to a small niche.
-
@linuxxx
Chrome isn't open source either.
I'm pretty sure the software engineers at Apple are competent enough to not leave backdoors and security vulnerabilities. Same goes for Google. -
@irene Not really, every browser has a distinctive design.
-
I've tried Firefox and it's a good browser, but I personally don't like the UI.
-
@Charon92 Funny thing to say, since Safari has excellent JS support (100% of the ES5/ES6 specification) and better tail call optimisation than both Chrome, Firefox and Edge.
http://kangax.github.io/compat-tabl... -
@Charon92 How did they improve it? By making it consume twice as much resources?
-
@Charon92 Webkit is developed and open sourced by Apple. If anything is running a modified version, that would be Chrome.
https://webkit.org -
@zacg The rendering engine, Webkit, is open source. It's also used by Chrome.
-
@dontPanic Why does everything have to be open source?
-
@AleCx04 Hating on Apple is especially trendy.
-
@Mayhem93 Oh, my mistake, I somehow added "performance" to the post in my mind.