Web Application VS Windows Application
-
@johnhooks said:
@scottalanmiller said:
@johnhooks said:
@scottalanmiller said:
@johnhooks said:
@scottalanmiller said:
@johnhooks said:
Ya mine's using close to 2GB
Are you sure? I don't think that tool tell syou how much is used.
That's the RAM for each VM and the host. 8% is allocated for the dom0.
I mean, didi you run free to see what was REALLY used?
Used is like 702, I changed the response above.
I'm not going to be confident in that number till someone shows me the real free -m output rather than something translated for me.
ok......
I see you using 497, not 702. More than expected, less than stated.
-
-
@IT-ADMIN said:
great, so i will tried to use this framework because really i liked it, wow it reduce a massive amount of time of coding SQL queries, everything function is ready(store, delete, update ) thank you for this advice
LOL, yes. Writing queries is pretty uncommon for the last... decade or so
-
@IT-ADMIN said:
do you use json and ajax in your PHP code ?? for me i really liked them both,
The framework does that, not you.
-
@IT-ADMIN said:
they allow you to fetch data and display data from DB without refreshing the page
We know what they do. But you are talking about them like it's the late 1990s. Think of them like your SQL code... not something you need to worry about anymore.
-
i mentioned them in order to tell me guys whether they are effective or maybe you know another method more powerful to achieve that,
but wait you told me that my php code can handle this, how ?? because i think if i use sql only i have to refresh the page in order to get the data from the DB, but ajax for example send an xmlhttprequest with the argument needed into another php file without refreshing the page,
please if you know something new that do the same thing update me, because i'm expired hhhhh -
@IT-ADMIN said:
i mentioned them in order to tell me guys whether they are effective or maybe you know another method more powerful to achieve that,
MangoLassi uses websockets.
-
@IT-ADMIN said:
but wait you told me that my php code can handle this, how ?? because i think if i use sql only i have to refresh the page in order to get the data from the DB, but ajax for example send an xmlhttprequest with the argument needed into another php file without refreshing the page,
SQL is the database on the backend. AJAX is for the GUI on the front end. One does not affect the other. You are tying components in your mind that aren't related.
-
@IT-ADMIN said:
please if you know something new that do the same thing update me, because i'm expired hhhhh
Every modern web application framework does all of this automatically. You are talking about "underpinnings" that are no longer things that the developers need to really think about, especially not at this level.
-
It can also be done with jQuery (the javascript library) or one of the others to update just parts of the page without having to refresh your whole browser screen. That can complicate development in some ways, while making things easier in others.
-
@dafyre said:
It can also be done with jQuery (the javascript library) or one of the others to update just parts of the page without having to refresh your whole browser screen. That can complicate development in some ways, while making things easier in others.
yeah myself using jquery to update only some element in the DOM, but off course after receiving the data via ajax, is there any framework in php that does this ?? how do you deal with this scenario dear @dafyre ?? maybe you are using websocket as Mr scott mention ?? because me i'm still using ajax and json but based on Scott i'm expired lol, i wan to update myself
-
@IT-ADMIN said:
yeah myself using jquery to update only some element in the DOM, but off course after receiving the data via ajax, is there any framework in php that does this ??
This is very common.
-
@IT-ADMIN said:
@dafyre said:
It can also be done with jQuery (the javascript library) or one of the others to update just parts of the page without having to refresh your whole browser screen. That can complicate development in some ways, while making things easier in others.
yeah myself using jquery to update only some element in the DOM, but off course after receiving the data via ajax, is there any framework in php that does this ?? how do you deal with this scenario dear @dafyre ?? maybe you are using websocket as Mr scott mention ?? because me i'm still using ajax and json but based on Scott i'm expired lol, i wan to update myself
I use jQuery for all of my ajax stuff, so I don't have to think quite so hard about it. But I don't deal with JSON too often (my latest project requires me to, so that's a plus). I've not dealt with Websockets yet. Got too many tinkering projects to tinker with these days... and sadly not many of them are PHP projects yet.
-
@scottalanmiller said:
@johnhooks said:
@scottalanmiller said:
@johnhooks said:
@scottalanmiller said:
@johnhooks said:
@scottalanmiller said:
@johnhooks said:
Ya mine's using close to 2GB
Are you sure? I don't think that tool tell syou how much is used.
That's the RAM for each VM and the host. 8% is allocated for the dom0.
I mean, didi you run free to see what was REALLY used?
Used is like 702, I changed the response above.
I'm not going to be confident in that number till someone shows me the real free -m output rather than something translated for me.
ok......
I see you using 497, not 702. More than expected, less than stated.
Ah I was looking at swap included my bad.
-
Check out Laravel, that's a modern leader for PHP.
-
@dafyre said:
@IT-ADMIN said:
@dafyre said:
It can also be done with jQuery (the javascript library) or one of the others to update just parts of the page without having to refresh your whole browser screen. That can complicate development in some ways, while making things easier in others.
yeah myself using jquery to update only some element in the DOM, but off course after receiving the data via ajax, is there any framework in php that does this ?? how do you deal with this scenario dear @dafyre ?? maybe you are using websocket as Mr scott mention ?? because me i'm still using ajax and json but based on Scott i'm expired lol, i wan to update myself
I use jQuery for all of my ajax stuff, so I don't have to think quite so hard about it. But I don't deal with JSON too often (my latest project requires me to, so that's a plus). I've not dealt with Websockets yet. Got too many tinkering projects to tinker with these days... and sadly not many of them are PHP projects yet.
lol, you also still using ajax like me, but pay attention we are considered expired based on Mr Scott, hhhh just joking
-
@IT-ADMIN said:
@dafyre said:
@IT-ADMIN said:
@dafyre said:
It can also be done with jQuery (the javascript library) or one of the others to update just parts of the page without having to refresh your whole browser screen. That can complicate development in some ways, while making things easier in others.
yeah myself using jquery to update only some element in the DOM, but off course after receiving the data via ajax, is there any framework in php that does this ?? how do you deal with this scenario dear @dafyre ?? maybe you are using websocket as Mr scott mention ?? because me i'm still using ajax and json but based on Scott i'm expired lol, i wan to update myself
I use jQuery for all of my ajax stuff, so I don't have to think quite so hard about it. But I don't deal with JSON too often (my latest project requires me to, so that's a plus). I've not dealt with Websockets yet. Got too many tinkering projects to tinker with these days... and sadly not many of them are PHP projects yet.
lol, you also still using ajax like me, but pay attention we are considered expired based on Mr Scott, hhhh just joking
that you are coding it yourself is the issue, everyone uses AJAX for the past decade or more.
-
Check out this list, only two years old.
http://mashable.com/2014/04/04/php-frameworks-build-applications/#UhWiFqMrMGqr
-
@IT-ADMIN said:
@dafyre said:
@IT-ADMIN said:
@dafyre said:
It can also be done with jQuery (the javascript library) or one of the others to update just parts of the page without having to refresh your whole browser screen. That can complicate development in some ways, while making things easier in others.
yeah myself using jquery to update only some element in the DOM, but off course after receiving the data via ajax, is there any framework in php that does this ?? how do you deal with this scenario dear @dafyre ?? maybe you are using websocket as Mr scott mention ?? because me i'm still using ajax and json but based on Scott i'm expired lol, i wan to update myself
I use jQuery for all of my ajax stuff, so I don't have to think quite so hard about it. But I don't deal with JSON too often (my latest project requires me to, so that's a plus). I've not dealt with Websockets yet. Got too many tinkering projects to tinker with these days... and sadly not many of them are PHP projects yet.
lol, you also still using ajax like me, but pay attention we are considered expired based on Mr Scott, hhhh just joking
H aha ha. I know I'm behind the times, but not completely expired. Being expired means you can't make the code do what you want... and I'm not quite that far gone yet.
@scottalanmiller -- That's twice I've heard the name Laravel this week... Guess it's time to go check it out.
-
ok guys thank you all, it is midnight in here, see you tomorrow with new question and fun discussions,
good evening