Link to home
Start Free TrialLog in
Avatar of Peiris
PeirisFlag for United States of America

asked on

ajax calling with wordpress

Hi All

I am developing a prototype for a business idea. I am using wordpress for this. I created many widgets that do the functionality with mysql database.

I learn myself how to program ajax and it looks very appealing and want to integrated with my prototype. Saying that, here is my general question. I do want to write the business logic independent of wordpress but still use the wordpress as a platform in the prototype the website and serve initial customers. So I thought develop the php classes and write the code in it and call through ajax to get the data and display on the workpress page.

Questions are:

Is this a good practice ?

How to get my php files to know if the user actually logged in with proper accounts in to wordpress site before process any data at ajax call.

Is there any limit of writing ajax in client side scripting ?

 
Than you
Peiris
ASKER CERTIFIED SOLUTION
Avatar of Member_2_248744
Member_2_248744
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial