I was wondering I would go about using PHP created screens that would be run along side an RPG application? We are wanting to do an employee web portal and I was seeing about using Foundation Framework for the user friendly interface and having RPG code to detect the user's actions.
Is this possible?
PHP Screen with RPG Code?
-
- New User
- Posts: 11
- Joined: Wed May 11, 2011 11:26 am
- First Name: Andrew
- Last Name: Landry
- Company Name: Dupre' Logistics
- Contact:
-
- Experienced User
- Posts: 2711
- Joined: Wed Aug 01, 2012 8:58 am
- First Name: Scott
- Last Name: Klement
- Company Name: Profound Logic
- City: Milwaukee
- State / Province: Wisconsin
Re: PHP Screen with RPG Code?
I'm not sure that I understand what you are looking for.
When you say "PHP alongside RPG" do you mean that you'll code PHP programs to run as web pages, and the PHP pages will run RPG programs under the covers to get data? If so, you don't need/want a framework like Profound UI, PHP can just call RPG programs directly and pass parameters to them.
If by "alongside" you mean that you want a PHP application and an RPG application to appear side-by-side on a single web page, then you would probably want to code iframes for each, and have one of them point to the RPG program, and one point to the PHP program.
If you mean that you'd like to use Foundation Framework, and have it use RPG as a backend... you can't do that with Profound UI, since Profound UI is a framework itself, and our OA handler and JS framework are designed to work with each other. Adapting it to use another framework would be extremely difficult, if possible at all. But, you could certainly use our RPGsp product to drive a different Javascript framework, or you could use something like CGIDEV2. I'm not familiar with Foundation Framework (so it may or may not work with RPG?), but they'd work fine with other frameworks like jQuery or ExtJS. Obviously, in this case, you'd need to understand how to code that sort of program (much like you would if you coded in PHP, et al, you'd need to understand the framework, Javascript code, HTML and CSS)
Does any of that help? I'm not so sure that I understand what you are asking.
When you say "PHP alongside RPG" do you mean that you'll code PHP programs to run as web pages, and the PHP pages will run RPG programs under the covers to get data? If so, you don't need/want a framework like Profound UI, PHP can just call RPG programs directly and pass parameters to them.
If by "alongside" you mean that you want a PHP application and an RPG application to appear side-by-side on a single web page, then you would probably want to code iframes for each, and have one of them point to the RPG program, and one point to the PHP program.
If you mean that you'd like to use Foundation Framework, and have it use RPG as a backend... you can't do that with Profound UI, since Profound UI is a framework itself, and our OA handler and JS framework are designed to work with each other. Adapting it to use another framework would be extremely difficult, if possible at all. But, you could certainly use our RPGsp product to drive a different Javascript framework, or you could use something like CGIDEV2. I'm not familiar with Foundation Framework (so it may or may not work with RPG?), but they'd work fine with other frameworks like jQuery or ExtJS. Obviously, in this case, you'd need to understand how to code that sort of program (much like you would if you coded in PHP, et al, you'd need to understand the framework, Javascript code, HTML and CSS)
Does any of that help? I'm not so sure that I understand what you are asking.
Who is online
Users browsing this forum: No registered users and 0 guests