php notification templating using xml or anything [closed] - php

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
Sorry if my question is a little confusing, i have made a Notification system using php with codeigniter framework which is working all good. i am using helper to create notifications and check for new notifications. In my case there is only one notification as of now ie.. payment remainder which checks for due date and adds notification to db.
What i am trying to do is to create a form where admin-user will be able to create notifications without the need of programming a helper everytime.
please let me know what is the best way to apporach this situation.
Regards
Max

Related

Server-side testing forms laravel [closed]

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 1 year ago.
Improve this question
I don't know if this can be done but I want to test through a cron job or but the laravel schedule forms from other websites, these websites are mine but independent from this project.
The purpose is to test the forms of several websites automatically to check that they work in the same way that would test a client, it is like making a bot that sends to the forms.
Thanks in advance.
Laravel Dusk (https://laravel.com/docs/8.x/dusk) is what you need to look into.

(Laravel) Update interface every time there is a change in the database? [closed]

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 3 years ago.
Improve this question
I'm new to Laravel, I want to update the interface every time there is a change in the database but I think calling a JavaScript every 5s to update the interface is not very efficient, so I wonder what is the most efficient way to do that?
Have you considered using some for of websocket to create a connection between your backend and JavaScript based UI?
Either https://laravel.com/docs/master/broadcasting or https://github.com/beyondcode/laravel-websockets would allow you to notify your UI to request the updates from your Laravel backend.
My personal suggestion would be that you JS would receive a notification that something had changed and then have to obtain the updated information via Ajax so that you are not sending confidential information through Pusher's servers.

PHP - Get Order Immediately When Placed WooCommerce [closed]

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 4 years ago.
Improve this question
My site is made with WordPress & WooCommerce. I wanna get ORDER immediately after it place.
I wanna sent ORDER to a Non-WordPress SERVER in XML format with POST method.
If you are a developer, this should be implemented using WooCommerce webhooks (https://docs.woocommerce.com/document/webhooks/), but a nice amount of code and a good understanding of WooCommerce is needed.
An easier alternative would be using a 3rd party like Zapier: https://zapier.com/apps/webhook/integrations/woocommerce

Test database every morning [closed]

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 5 years ago.
Improve this question
I made a platform to remind me of some things I haven't done.
I've stored this reminds into a database and now I want this PHP based Website to send me emails.
I want to make tests to the database every morning and if I found records that are critical to send notifications to my email.
How can I do this ? Thank you :)
You have to implement cron job for this. For more details about cron job visit following URL:- https://stackoverflow.com/a/30872993/2706551

Web based chat between users in my web app [closed]

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 5 years ago.
Improve this question
I would like my users to able to chat with one another.
I currently use angularjs as the front-end and PHP in the back-end.
any ideas?
You should be looking at different languages for this. Node.js, MongoDB and Redis is a good start.
Also, just expecting people to give you code with such a vague request is not really in line with the spirit of things here. There are plenty of good examples online and a simple Google search would give you results like this https://github.com/joni2back/spachat if you're really keen on using PHP and Angular.

Categories