| | |
Mechanics of a python backend
Please support our Python advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Oct 2006
Posts: 164
Reputation:
Solved Threads: 3
Hi all,
I have a php/mysql based site set up. I want to keep my database layer updated via a python script that will query some other systems, parse data and make the appropriate CRUD calls to my database. My question is might be a simple one but I'm wondering the mechanics of setting up this type of system. I've heard it's fairly common to have a python backend but I'm unsure on how to go about implementing this. Do I write the python scripts and set up a cron job to run at specified intervals or is there some other mechanism that can do this for me?
Thanks in advance!
I have a php/mysql based site set up. I want to keep my database layer updated via a python script that will query some other systems, parse data and make the appropriate CRUD calls to my database. My question is might be a simple one but I'm wondering the mechanics of setting up this type of system. I've heard it's fairly common to have a python backend but I'm unsure on how to go about implementing this. Do I write the python scripts and set up a cron job to run at specified intervals or is there some other mechanism that can do this for me?
Thanks in advance!
where will python reside? In server or client machine
Can you explain more? I have tried to understand what you want to do but I haven't got you well.
You can take a look at mysql module
http://mysql-python.sourceforge.net/
Can you explain more? I have tried to understand what you want to do but I haven't got you well.
You can take a look at mysql module
http://mysql-python.sourceforge.net/
Atheist: God is man made imagination, he doesn't exist!
Theist: It's okay, can you imagine anything else that doesn't exist?
Junior MD --- Python, C++ and PHP
Theist: It's okay, can you imagine anything else that doesn't exist?
Junior MD --- Python, C++ and PHP
•
•
Join Date: Oct 2006
Posts: 164
Reputation:
Solved Threads: 3
•
•
•
•
where will python reside? In server or client machine
Can you explain more? I have tried to understand what you want to do but I haven't got you well.
You can take a look at mysql module
http://mysql-python.sourceforge.net/
hope that helps
•
•
•
•
sorry for the lack of info. it will reside on the back end. I'd like to keep my database updated with certain information queried from other 3rd party API's and i figured i could write a python script to accomplish this as well as other maintenance tasks. so the user would have nothing to do with it. it would just do all of the automated tasks i would program it to do.
hope that helps
Atheist: God is man made imagination, he doesn't exist!
Theist: It's okay, can you imagine anything else that doesn't exist?
Junior MD --- Python, C++ and PHP
Theist: It's okay, can you imagine anything else that doesn't exist?
Junior MD --- Python, C++ and PHP
![]() |
Similar Threads
- Greetings (Community Introductions)
- Can python do this? How? (Python)
- Forum backend in java - Can I please have the backend for a forum? (Java)
- Forum backend in python - Can I please have the backend for a forum? (Python)
- python projects (Community Introductions)
Other Threads in the Python Forum
- Previous Thread: Python help, accessing wikipedia pages
- Next Thread: Indexing two lists
| Thread Tools | Search this Thread |
accessdenied address aliased apax arax array avogadro bash beginner book c++ code console convert corners csv cturtle curves cx-freeze data def development dictionary django dynamic edit editing enter examples excel file filename function generator gui halp ideas input itunes java leftmouse linux list lists loan maze microphone microsoft module mouse movingimageswithpygame mysql obexftp opensource parameters path prime programming projects py2exe pygame pygtk pyopengl python random raw_input read redirect remote return reverse ruby silverlight simple sprite sqlite string strings sudokusolver sum syntax table terminal thread threading time tkinter tooltip tutorial ubuntu unicode urllib urllib2 variable verify voip web-scrape whileloop wordgame wxpython







