ok guys thank you all, it is midnight in here, see you tomorrow with new question and fun discussions,
good evening
ok guys thank you all, it is midnight in here, see you tomorrow with new question and fun discussions,
good evening
@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
@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 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
i know that command, hhhh
it is :
R::freeze(1);
they allow you to fetch data and display data from DB without refreshing the page
do you use json and ajax in your PHP code ?? for me i really liked them both,
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
it is similar to EJB in J2EE, modeling framework that facilitate DB managment
@dafyre i just take a look over RedBeanPHP framework, it looks great, but it is working with OOP method not procedural method, so i supposed you are following OOP method isn't it ???
@scottalanmiller said:
@wirestyle22 said:
@IT-ADMIN said:
anyway it is another discussion about hypervisors we made it 6 months ago,
why it is recomended to make apache and mysql in seperate servers ??
because they compete heavily for physical resources and they scale at different rates
No, that's not an issue. Specifically the issue is the potential to write code that relies on locality.
please dear scott can you clear you point here, i'm not sure i understood you
ah ok, i see what you mean,
thanks
anyway it is another discussion about hypervisors we made it 6 months ago,
why it is recomended to make apache and mysql in seperate servers ??
what makes apache not playing well with mysql if they are on the same server ??
@coliver no dear, i already tried XenSever, it consume about 700 MB,
@scottalanmiller ah ok, thanks at least i realized that i was not stupid lol,
Ok, so i will grab a 4 RAM GB, install a hypervisor on it (it will take almost 1 GB) and the rest is devided btw the 2 VM, one apache 1.5 GB RAM and one for Mysql 1.5 GB RAM, is it fine now ???