I must be so old. I spend all day sitting on an IRC style 'chatroom' with a bunch of friends, that was written about decade ago. It uses a combination of javascript ('ajax') on the client side, and crappy ASP on the backend (because the only server at the time that was available was a Windows server). The comms is very simple asynchronous polling and formatting/parsing javascript. In fact the only updates over time h…
You're friends were replaced by chat bots long ago. We've all been watching you like a mini ascii truman show.
Show HN: Realtime Chatroom Built with Laravel and VueJS
11–20 of 23 posts
Re: Show HN: Realtime Chatroom Built with Laravel and VueJS
#12I must be so old. I spend all day sitting on an IRC style 'chatroom' with a bunch of friends, that was written about decade ago. It uses a combination of javascript ('ajax') on the client side, and crappy ASP on the backend (because the only server at the time that was available was a Windows server). The comms is very simple asynchronous polling and formatting/parsing javascript. In fact the only updates over time h…
It's a "here's how you can use Laravel and Vue" article.
Re: Show HN: Realtime Chatroom Built with Laravel and VueJS
#13 public function __construct($user)
that makes php seem to be abhorent? (Well, i am speaking for myself)Why would you use your time and energy to build another rails like framework when you could work on something better?
One reason not to program in PHP is because of this old timer syntax. Do you like how php arrays are constructed? Really, tell me. I really want to know.
Can we please move forward? I would rather see someone work and improve other frameworks such as django. And all these "implements" in Php. Weren't they copied from Java? I will take Java over everything else. Php is dead. Let it die. I am sure it was an ok language some time ago but there is no way to resurrect it by copying other frameworks over. Unless of course, it provides a easy entry to web programming, hence, saxophone players(not software engineers) write spaghetti code like wordpress and then they become mainstream and "successful". I am sorry for my vehement ranting by I am getting old and I see no impovement in software...
Re: Show HN: Realtime Chatroom Built with Laravel and VueJS
#14Earlier quoted context omitted.
Most people are here to learn, to build something more advanced, and/or to build something prettier. No need to condescendingly pretend like everyone else should be judged by your needs and nostalgia in a chat room.
I wasn't. I was challenging the modern need to just bolt pre-existing frameworks together. I WAS hoping for a discussion about it. Maybe my intent was not clear. Apologies.
Pusher is one of many Pub/Sub mechanisms laravel supports [1], and Vuejs is included "out of the box".
Point is, these frameworks aren't exactly bolted together any more or less than any other software integration.
Re: Show HN: Realtime Chatroom Built with Laravel and VueJS
#15I must be so old. I spend all day sitting on an IRC style 'chatroom' with a bunch of friends, that was written about decade ago. It uses a combination of javascript ('ajax') on the client side, and crappy ASP on the backend (because the only server at the time that was available was a Windows server). The comms is very simple asynchronous polling and formatting/parsing javascript. In fact the only updates over time h…
I don't think there was ever a time that people didn't have alternatives to windows server and ASP.
Maybe there was a time that ASP was more popular than the alternatives, but I personally haven't observed such thing.
Re: Show HN: Realtime Chatroom Built with Laravel and VueJS
#16IS it me or is php syntax like this : public function __construct($user) that makes php seem to be abhorent? (Well, i am speaking for myself) Why would you use your time and energy to build another rails like framework when you could work on something better? One reason not to program in PHP is because of this old timer syntax. Do you like how php arrays are constructed? Really, tell me. I really want to know. Can we…
Re: Show HN: Realtime Chatroom Built with Laravel and VueJS
#17IS it me or is php syntax like this : public function __construct($user) that makes php seem to be abhorent? (Well, i am speaking for myself) Why would you use your time and energy to build another rails like framework when you could work on something better? One reason not to program in PHP is because of this old timer syntax. Do you like how php arrays are constructed? Really, tell me. I really want to know. Can we…
A php array is pretty standard syntax... ['x' => 'y', 'z' => 'a'..]
I've worked in both Rails and Python and PHP 7.0 is actually equivalent to most modern web languages. Type hinting, lambdas, function chaining, generators, etc., etc.
Spaghetti code is because of the developer not the language. I'm sure even Erlang has it's fair share of spaghetti code apps.
Put the haterade down!
Re: Show HN: Realtime Chatroom Built with Laravel and VueJS
#18Earlier quoted context omitted.
Most people are here to learn, to build something more advanced, and/or to build something prettier. No need to condescendingly pretend like everyone else should be judged by your needs and nostalgia in a chat room.
I wasn't. I was challenging the modern need to just bolt pre-existing frameworks together. I WAS hoping for a discussion about it. Maybe my intent was not clear. Apologies.
Re: Show HN: Realtime Chatroom Built with Laravel and VueJS
#19IS it me or is php syntax like this : public function __construct($user) that makes php seem to be abhorent? (Well, i am speaking for myself) Why would you use your time and energy to build another rails like framework when you could work on something better? One reason not to program in PHP is because of this old timer syntax. Do you like how php arrays are constructed? Really, tell me. I really want to know. Can we…
Re: Show HN: Realtime Chatroom Built with Laravel and VueJS
#20IS it me or is php syntax like this : public function __construct($user) that makes php seem to be abhorent? (Well, i am speaking for myself) Why would you use your time and energy to build another rails like framework when you could work on something better? One reason not to program in PHP is because of this old timer syntax. Do you like how php arrays are constructed? Really, tell me. I really want to know. Can we…
And, Why is Django any better? Frankly, I find python to be a terrible language to be productive in due to its syntax and lack of types. PHP has lack of types, too, but atleast the variables are marked.
Also, what is wrong with that explicit construct line? Its a constructor, it says it right there.