Dump

Hi Everyone,

I am currently consolidating some skills for Scala.
And one thing I really miss from the CF world is the ability to “dump”
dynamic structures / objects etc.

Is there any possibility of spinning out of Lucee, “dump” functionality
into a jar - that could then be used elsewhere?
Perhaps its not even technically possibly - it might just bee too
intrinsically tied into the Lucee service / CFML…

But I thought I would at least ask!

Ps. I am loving Lucee and look forward to a stable relase of the new
version!

As always - thanks in advance!

Gavin.

Gavin,

I’m not sure what you mean by “dump” objects.

if you mean to inspect the values of an object while debugging, then use

<cfdump var="#object#">

or the script version

dump(object);

if you mean to store the object somewhere so that it could be loaded
later, then use the built in function

serialized = serialize(object);

which will create a string that you can store in a file, database, etc.;
then the object can be “retrieved” by calling

obj = evaluate(serialized);

if you meant something completely different please clarify.

Igal Sapir
Lucee Core Developer
Lucee.org http://lucee.org/On 5/4/2015 8:24 PM, Gavin Baumanis wrote:

Hi Everyone,

I am currently consolidating some skills for Scala.
And one thing I really miss from the CF world is the ability to “dump”
dynamic structures / objects etc.

Is there any possibility of spinning out of Lucee, “dump”
functionality into a jar - that could then be used elsewhere?
Perhaps its not even technically possibly - it might just bee too
intrinsically tied into the Lucee service / CFML…

But I thought I would at least ask!

Ps. I am loving Lucee and look forward to a stable relase of the new
version!

As always - thanks in advance!

Gavin.

You received this message because you are subscribed to the Google
Groups “Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to lucee+unsubscribe@googlegroups.com
mailto:lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com
mailto:lucee@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/de49ce9c-e966-4243-8063-0db0cd6671d0%40googlegroups.com
https://groups.google.com/d/msgid/lucee/de49ce9c-e966-4243-8063-0db0cd6671d0%40googlegroups.com?utm_medium=email&utm_source=footer.
For more options, visit https://groups.google.com/d/optout.

I think he’s wanting to know if the Lucee dump functionality can be exported from Lucee into a separate jar so he can use it in Scala.

This is maybe possible in Lucee 5 IMHO. There you can call CFML functionality from Java and that could perhaps then work with Scala too

Sincerely
Gert Franz

RASIA GmbH

Spittelgasse 7

5103 Moeriken-Wildegg

Email: mailto:Gert_Franz @Gert_Franz
Skype: gert.franz

Phone Switzerland: +41 76 5680 231Von: lucee@googlegroups.com [mailto:lucee@googlegroups.com] Im Auftrag von Gavin Baumanis
Gesendet: Dienstag, 5. Mai 2015 05:25
An: lucee@googlegroups.com
Betreff: [Lucee] dump

Hi Everyone,

I am currently consolidating some skills for Scala.

And one thing I really miss from the CF world is the ability to “dump” dynamic structures / objects etc.

Is there any possibility of spinning out of Lucee, “dump” functionality into a jar - that could then be used elsewhere?

Perhaps its not even technically possibly - it might just bee too intrinsically tied into the Lucee service / CFML…

But I thought I would at least ask!

Ps. I am loving Lucee and look forward to a stable relase of the new version!

As always - thanks in advance!

Gavin.


You received this message because you are subscribed to the Google Groups “Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/de49ce9c-e966-4243-8063-0db0cd6671d0%40googlegroups.com https://groups.google.com/d/msgid/lucee/de49ce9c-e966-4243-8063-0db0cd6671d0%40googlegroups.com?utm_medium=email&utm_source=footer .
For more options, visit https://groups.google.com/d/optout.

Thanks for the lain english version - exactly what I was meaning!On Tuesday, 5 May 2015 22:30:53 UTC+10, Jesse Shaffer wrote:

I think he’s wanting to know if the Lucee dump functionality can be
exported from Lucee into a separate jar so he can use it in Scala.

The first thing I did when I had to do php (thankfully that was 10 years
ago), was a dump function myself. Best write one yourself, remember the
Lucee impl is a component, that means scala not only need to be able to
know components it also need to be able to execute components… That is
for sure a overhead for this task.

MichaAm Donnerstag, 7. Mai 2015 schrieb Gert Franz :

This is maybe possible in Lucee 5 IMHO. There you can call CFML
functionality from Java and that could perhaps then work with Scala too

Sincerely
Gert Franz

RASIA GmbH

Spittelgasse 7

5103 Moeriken-Wildegg

Email: @Gert_Franz <javascript:_e(%7B%7D,‘cvml’,’@Gert_Franz’);>
Skype: gert.franz

Phone Switzerland: +41 76 5680 231

Von: lucee@googlegroups.com
<javascript:_e(%7B%7D,‘cvml’,‘lucee@googlegroups.com’);> [mailto:
lucee@googlegroups.com
<javascript:_e(%7B%7D,‘cvml’,‘lucee@googlegroups.com’);>] *Im Auftrag von
*Gavin Baumanis
Gesendet: Dienstag, 5. Mai 2015 05:25
An: lucee@googlegroups.com
<javascript:_e(%7B%7D,‘cvml’,‘lucee@googlegroups.com’);>
Betreff: [Lucee] dump

Hi Everyone,

I am currently consolidating some skills for Scala.

And one thing I really miss from the CF world is the ability to “dump”
dynamic structures / objects etc.

Is there any possibility of spinning out of Lucee, “dump” functionality
into a jar - that could then be used elsewhere?

Perhaps its not even technically possibly - it might just bee too
intrinsically tied into the Lucee service / CFML…

But I thought I would at least ask!

Ps. I am loving Lucee and look forward to a stable relase of the new
version!

As always - thanks in advance!

Gavin.


You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+unsubscribe@googlegroups.com
<javascript:_e(%7B%7D,‘cvml’,‘lucee%2Bunsubscribe@googlegroups.com’);>.
To post to this group, send email to lucee@googlegroups.com
<javascript:_e(%7B%7D,‘cvml’,‘lucee@googlegroups.com’);>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/de49ce9c-e966-4243-8063-0db0cd6671d0%40googlegroups.com
https://groups.google.com/d/msgid/lucee/de49ce9c-e966-4243-8063-0db0cd6671d0%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.


You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+unsubscribe@googlegroups.com
<javascript:_e(%7B%7D,‘cvml’,‘lucee%2Bunsubscribe@googlegroups.com’);>.
To post to this group, send email to lucee@googlegroups.com
<javascript:_e(%7B%7D,‘cvml’,‘lucee@googlegroups.com’);>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/010201d088bc%24ae2e8d60%240a8ba820%24%40rasia.ch
https://groups.google.com/d/msgid/lucee/010201d088bc%24ae2e8d60%240a8ba820%24%40rasia.ch?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.