Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I have a POS software developed in PHP and running as a web application.
I need to have dual monitors, one facing the employee with full details (sales screens showing heaps of options) and another monitor facing the customer with summarized information (ex. item, price list only)
How can that be achieved?
Many thanks
Because your dealing with the web, event driven development is not going to be possible. So to get around this, you will need to have two browser instances (1 per monitor) where the waitress side will need to do an ajax push on each update and the customer end will need to do some kind of ajax polling based on a timer. There is a lot of information all over the internet about how to accomplish this sort of thing. Take a look at Push notification to the client browser for some more discussion on the topic. There are some less supported methods you maybe able to leverage like realtime push notifications or multipart/x-mixed-replace MIME type or Comet or HTML5 Websockets.
Related
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 6 years ago.
Improve this question
I am battling with myself about the use of Laravel 5 AND / OR NodeJS.
I want to build a webshop where other webshops or stores can sell their products on. NodeJS drops in when a visitor is viewing an auction page and a product has a new bid. It should be visible without refreshing the (product)page. The rest of the website won't need this functionality.
So, 2 backend environments are awkward, right? So should I pick NodeJS, Laravel 5 or should I just use both for this page only?
You can use both of them. their architecture and nature is different. Laravel is a framework with php language that runs per request but node.js is a platform that is best suitable for streaming and realtime. If you want a CMS like website then I suggest Laravel because Development cost and maitenance is better, due to its active community. If you developed that with Laravel, then you can use push notifications to inform your users from new changes or you can use methods like long pulling.
I don't know about Laravel which is a PHP framework but whatever you want to achieve can be achieved using node js with socket io support. You can have realtime updates using socket io. Please check it out. No need to have two frameworks of different language platforms to achieve a single task. And it is wrong to compare socket io(event based communication engine) to Laravel (php web application framwork).
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I had searched by google and this forum-search and I didnt get any about this so I propose a new topic: WordPress with the ability to fight with Ad-Blocker.
I am not an IT guy (subsea engineer) but I am having website with about 100 - 200 unique visitor/day now (according to adsense) as hobby (1%-4% using ad-blocker - I am lucky to have these ~97% my visitors).
I just learn that ad-block users are about 300 mil and it is a huge problem to big publisher (they earn money from ads). Ad-blocker using bandwith, upload data to their server and some (one of them - I expect more of them) sell the data as anons.
In accordance to the above idea,
I have a question as a-non IT guys, is there a way to make WordPress to tackle ad-blocker (auto)?
It may be a way to disarm ad-blocker. My website is like my home/house. You/Visitors can visit but please consider the owner.
No from what I can tell, it keeps a list of servers which are used to serve advertisements. Whenever you visit any website, the web browser has to fetch the components from the various servers. Adblock simply blocks the connections to any item on its list of ad servers, thus blocking all or most ads. The list of servers has to be updated ever so often which it does in the backend.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I want each time a new lesson is added to the lessons table, a notification send to all students in that grade. Let's say I have 10,000 students in the fifth grade, that means a 10,000 insert operations will be made in the notifications table which is a huge load.
Is there a better idea on how to send notifications to users, knowing that a user can see the notification only ONCE.
It seems that the notification process can be made asynchronously.
I suggest to develop a separate message queue architecture for this scenario. A program will loads newly added data and put them in a queue, then another process can read the queue and (for example send emails to users). You can add more queue consumer to manage more huge data.
Of course you will need a MQ Server.
To get a filling of asynchronous development see http://www.rabbitmq.com/getstarted.html which have good examples of Rabbit MQ ( Rabbit MQ is a opensource java base messaging service).
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I Tried Settimeout to update pages,it works Perfect in Mozilla,
But it is Slowing down page in Google Chrome.
There are indeed alternatives to AJAX. And some of them rather amazing, to be honest.
I work for a company called Realtime (http://www.realtime.co) and we developed a very cool framework to work with real-time data.
It works on the cloud, we offer a lot of different APIs, you don't need to install anything and you can get a free account (with 1.000.000 free messages and 30.000 users per month). It allows you to push data to browsers, meaning you won't be hammering your server with AJAX requests.
On browsers, it uses websockets, if available. For older, non-websocket browsers, we will transparently fallback to whatever is that your browser can use.
Check out http://www.realtime.co and http://www.xrtml.org for downloads and documentation. Please let me know if you need any help as I am the Developer Evangelist for Realtime.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am working on a news paper website which has epaper facility. I am developing it in php.
Is there any script or something else where I can learn how to make an epaper site.
I want solution like this http://epaper.timesofindia.com/Default/Client.asp?Daily=TOIM&showST=true&login=default&pub=TOI&Enter=true&Skin=TOINEW&AW=1333084145015
Please help me out..
ePaper in your context is a web app developed by Pressmart, and it appears to be proprietary, or at the very least not developer-friendly. So I highly doubt there have been advances in PHP libraries for it.
I'm sure as a partner, they have internal documentation and tech support that you can request more information from. They may even have a web API with PHP examples (I've seen worse companies that knew they had to keep up).
This is all info I've gathered in the last 7 minutes, so there may be more out there. But you should always reach out to the developer support of the product if they don't have easy access to documentation, as this is a sure-sign that there is not a large population of developers in the general community that will know what you're talking about, let along give insight.