Bare txt and include files within Freeway

Havent been on here in a while, back at a new project…

Im building a php based app and need to use include files. Id love to be able to output/upload the include files directly from freeway pages minus all the headers, etc etc…without human intervention.

Is there an action that can do this or another way to make pages output with just the body code?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

If you want Freeway to generate page fragments (nothing except the content of the tag) then the PHP Make Insert Page Action is for you! Look for it on the Forge. You can also move head contents into the fragment if they’re needed (style or script tags, say).

If you want to consume these fragments from within Freeway, then please say a little more about this. I have done extensive work in this area, but I don’t understand the question if my first suggestion was off the mark.

Walter

On Apr 20, 2013, at 10:22 AM, Gregg Healy wrote:

Havent been on here in a while, back at a new project…

Im building a php based app and need to use include files. Id love to be able to output/upload the include files directly from freeway pages minus all the headers, etc etc…without human intervention.

Is there an action that can do this or another way to make pages output with just the body code?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Wow, seriously Walter that is cool and very useful. Do you know if there
are nay actions for simplifying knocking together a CRUD site with PHP?

On 20 April 2013 15:25, Walter Lee Davis email@hidden wrote:

If you want Freeway to generate page fragments (nothing except the content
of the tag) then the PHP Make Insert Page Action is for you! Look
for it on the Forge. You can also move head contents into the fragment if
they’re needed (style or script tags, say).

If you want to consume these fragments from within Freeway, then please
say a little more about this. I have done extensive work in this area, but
I don’t understand the question if my first suggestion was off the mark.

Walter

On Apr 20, 2013, at 10:22 AM, Gregg Healy wrote:

Havent been on here in a while, back at a new project…

Im building a php based app and need to use include files. Id love to be
able to output/upload the include files directly from freeway pages minus
all the headers, etc etc…without human intervention.

Is there an action that can do this or another way to make pages output
with just the body code?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

For Freeway Pro versions less than 6, there is Simple Include Pro from Tim
Plumb ( http://www.freewayactions.com/product.php?id=018 ) A brilliant
action in my opinion as it also allows for a “merge” kind of feature all
within Freeway Pro.


Ernie Simpson

On Sat, Apr 20, 2013 at 10:22 AM, Gregg Healy email@hidden wrote:

Havent been on here in a while, back at a new project…

Im building a php based app and need to use include files. Id love to be
able to output/upload the include files directly from freeway pages minus
all the headers, etc etc…without human intervention.

Is there an action that can do this or another way to make pages output
with just the body code?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

My Generate project will create a complete CRUD interface, but it’s in desperate need of re-vamping if you are going to run it on PHP 5.4. If you’re on 5.3 or lower, then it works just the way you’d expect. Very blurry/over-compressed screencast here: http://freewaycast.com/screencasts/view/85-generate-a-database-application

The application code is here: GitHub - walterdavis/generate: Lightweight clone of script/generate scaffold for MyActiveRecord and pals

I was just thinking about this today – I have written a replacement for MyActiveRecord, but it’s not hooked up to Generate yet, and I should probably rewrite Generate to make it more canonical anyway.

Walter

On Apr 20, 2013, at 10:29 AM, Glyn Winter wrote:

Wow, seriously Walter that is cool and very useful. Do you know if there
are nay actions for simplifying knocking together a CRUD site with PHP?

On 20 April 2013 15:25, Walter Lee Davis email@hidden wrote:

If you want Freeway to generate page fragments (nothing except the content
of the tag) then the PHP Make Insert Page Action is for you! Look
for it on the Forge. You can also move head contents into the fragment if
they’re needed (style or script tags, say).

If you want to consume these fragments from within Freeway, then please
say a little more about this. I have done extensive work in this area, but
I don’t understand the question if my first suggestion was off the mark.

Walter

On Apr 20, 2013, at 10:22 AM, Gregg Healy wrote:

Havent been on here in a while, back at a new project…

Im building a php based app and need to use include files. Id love to be
able to output/upload the include files directly from freeway pages minus
all the headers, etc etc…without human intervention.

Is there an action that can do this or another way to make pages output
with just the body code?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Im using conditionals and includes to generate some pages based on input data, verifying it against a database. Basically error details on the form, customized form pieces and a customized response message. It all works pretty slick and is super nice to have all in one file. If i can get rid of all the extra code…sounds like I can. AWESOME!

Are there downloadable files on Actionsforge? The PHP Make Insert Page Action sounds like the ideal solution but Im a bit confused where to get it, what it costs…

Thanks a bunch for the responses and solution(s).


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

That sounds awesome - I’ll set aside some time and go through that and the files at some point soon as I can tell it deserves some study in depth. I am using FW 6. I usually use hostgator so I will have to check what version of PHP they use - only problem is I am not sure trying to hold back an installation upgrade is viable is it unless you are self hosting?

If I may be so bold to suggest, aren’t you potentially missing quite a viable commercial opportunity here? I mean, everybody here is paying for CMS and yet you have most of what you need there to produce a set of tutorials off the back of this to sell a “build your own dynamic site and basic white-label cms”. Just a thought.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options