Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 89043
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T22:39:17+00:00 2026-05-10T22:39:17+00:00

I’ve been trying to build a simple prototype application in Django, and am reaching

  • 0

I’ve been trying to build a simple prototype application in Django, and am reaching the point of giving up, sadly, as it’s just too complicated (I know it would be worth it in the long-run, but I really just don’t have enough time available — I need something up and running in a few days). So, I’m now thinking of going with PHP instead, as it’s the method for creating dynamic web content I’m most familiar with, and I know I can get something working quickly.

My application, while simple, is probably going to be doing some reasonably complex AI stuff, and it may be that libraries don’t exist for what I need in PHP. So I’m wondering how easy / possible it is for a PHP script to ‘call’ a Java program or Python script or a program or script in another language. It’s not entirely clear to me what exactly I mean by ‘call’ in this context, but I guess I probably mean that ideally I’d like to define a function in, let’s say Java, and then be able to call it from PHP. If that’s not possible, then I guess my best bet (assuming I do go with PHP) will be to pass control directly to the external program explicitly through a POST or GET to a CGI program or similar.

Feel free to convince me I should stick with Django, although I’m really at the point where I just can’t figure out what model I need to produce the HTML form I want, which seems such a basic thing that I fear for my chances of doing anything more complex…

Alternatively, anyone who can offer any advice on linking PHP and other languages, that’ll be grateful received.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T22:39:17+00:00Added an answer on May 10, 2026 at 10:39 pm

    ‘where I just can’t figure out what model I need to produce the HTML form I want, which seems such a basic thing that I fear for my chances of doing anything more complex’

    Common problem.

    Root cause: Too much programming.

    Solution. Do less programming. Seriously.

    Define the Django model. Use the default admin pages to see if it’s right. Fix the model. Regenerate the database. Look at the default admin pages. Repeat until the default admin pages work correctly and simply.

    Once it’s right in the default admin pages, you have a model that works. It’s testable. And the automatic stuff is hooked up correctly. Choices are defined correctly. Computations are in the model mmethods. Queries work. Now you can start working on other presentations of the data.

    Django generally starts (and ends) with the model. The forms, view and templates are derived from the model.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 102k
  • Answers 102k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer No http://blogs.technet.com/sqlman/archive/2009/03/01/reporting-services-combining-different-datasets-to-be-displayed-in-a-single-table-in-ssrs.aspx May 11, 2026 at 8:12 pm
  • Editorial Team
    Editorial Team added an answer I use a "main" nsi file that makes up the… May 11, 2026 at 8:12 pm
  • Editorial Team
    Editorial Team added an answer You want System.Reflection.ParameterInfo.ParameterType.IsGenericParameter. Here's a VS2008 unit test that passes… May 11, 2026 at 8:12 pm

Related Questions

I ran into a problem. Wrote the following code snippet: teksti = teksti.Trim() teksti
I am currently running into a problem where an element is coming back from
Seemingly simple, but I cannot find anything relevant on the web. What is the
Configuring TinyMCE to allow for tags, based on a customer requirement. My config is
Is it possible to replace javascript w/ HTML if JavaScript is not enabled on

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.