FLUID-2925: Refactor php code - return appropriate response

Metadata

Source
FLUID-2925
Type
Task
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
Laurel Williams
Reporter
Laurel Williams
Created
2009-06-08T09:52:07.000-0400
Updated
2009-08-21T16:48:24.000-0400
Versions
  1. 1.1
Fixed Versions
  1. 1.2
Component
  1. Infusion Builder

Description

Comments

  • Laurel Williams commented 2009-06-09T15:16:54.000-0400

    postProcessor.php is a very modified version of "index.php" which was the non-javascript version of the custom build. The code in this file is intended only to "process" the post from the user requesting the custom build file, so a lot of things in index.php were removed. Rather than trying to modify index.php, I changed the name (required) and removed anything that rendered html. I also modified the code to be more modular and put in several TODO notes for things we still need to do.

    This file requires 'config.php'. I have not uploaded config.php because we should generalize the paths listed in config.php - they are not for public consumption. I will email config.php separately so we can discuss what to put in for general consumption.

  • Laurel Williams commented 2009-06-09T15:31:53.000-0400

    This is the config.php required by postProcessor.php. Must be edited to put in paths specific to server.

  • Laurel Williams commented 2009-06-10T12:33:22.000-0400

    This is an updated version that works with the jsonProcessor.php code and also moved the php tag to the start of the file (before the comments - oops)

  • Laurel Williams commented 2009-07-13T11:52:09.000-0400

    postProcessor now returns the appropriate response.