Yeah........I got it, Thank you brother .

Thank You

On Thu, Jun 7, 2012 at 10:44 AM, Dennis Lee Bieber <wlfr...@ix.netcom.com>wrote:

> On Thu, 7 Jun 2012 09:45:53 +0530, Tanveer Ali Sha
> <shaikht...@gmail.com> declaimed the following in
> gmane.comp.python.django.user:
>
> > sorry ,I have a Perl back-end running as an API,i want to control that in
> > my front end using Django.How can I do that.........?
> >
>
>         API to what? A common database system?
>
>        If so, the best solution is to bypass the PERL and talk directly to
> the database engine; Django may support the database engine itself.
>
>        Otherwise, Django will not be involved at all -- it will be pure
> hand-written Python calling the PERL operations -- I presume the PERL is
> command line driven, so Python can invoke it via any of: os.system(),
> subprocess.popen(), etc.
>
>        Django is optimized to be an end-to-end framework... from HTTP
> request/response handling, HTML templating, through business logic, and
> directly into a database engine --although it doesn't force one to use
> all of the framework (the template system is probably the easiest thing
> to substitute). If your database is only accessible via PERL scripts,
> that means you have to replace the Django database interface with your
> own Python code (or create a DB-API 2 compatible library -- which may be
> pure Python, or a compiled C-language extension -- that will interface
> with the PERL scripts; then add some tweaks to the Django database
> modules to recognize your new library as a valid database option).
> --
>        Wulfraed                 Dennis Lee Bieber         AF6VN
>        wlfr...@ix.netcom.com    HTTP://wlfraed.home.netcom.com/
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to