dbTalk Databases Forums  

Filemaker Pro scripting for "real programmers" ???

comp.databases.filemaker comp.databases.filemaker


Discuss Filemaker Pro scripting for "real programmers" ??? in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
Your Name
 
Posts: n/a

Default Re: Filemaker Pro scripting for "real programmers" ??? - 02-18-2011 , 07:44 PM






In article
<1bbc4269-b89f-432c-a923-09ece51846c7 (AT) glegroupsg2000goo (DOT) googlegroups.com>,
comp.databases.filemaker (AT) googlegroups (DOT) com wrote:

Quote:
The term "layout" gives me the creeps, because I don't want anything to
be shown anywhere. This is supposed to be something run on a server,
automatically, with no user looking at any screen.

But I'll see if I can make sense of what you're saying. At the moment,
I still don't know what you mean by "export" (but that's just because
I've only been exposed to FM for 2 days).
A database that nobody ever sees the data is pretty pointless (the
exception being if the data is exported to be used elsewhere). Someone
must be seeing the data at some stage, whether it's on-screen or printed
out, and in FileMaker Pro (as well as Access and every other database
system I've ever used) that requires a layout.

Having said that, layouts in FileMaker do not necessarily ever get seen.
You can, for example, Freeze the window on one layout, move to another
layout to do processing and the return to the original layout and unfreeze
the window.

Helpful Harry )

Reply With Quote
  #12  
Old   
Your Name
 
Posts: n/a

Default Re: Filemaker Pro scripting for "real programmers" ??? - 02-18-2011 , 07:49 PM






In article
<5e671dba-089d-4dcf-8963-c2245ae0500f (AT) glegroupsg2000goo (DOT) googlegroups.com>,
comp.databases.filemaker (AT) googlegroups (DOT) com wrote:

Quote:
"Real programmers" would of course be writting their own applications
using binary code, not mucking about with FileMaker, SQL or anything else
built by someone else. ;o)

I'd prefer to have the data in MySQL or PostgreSQL, manipulate it using
something like Embedded SQL in a C program.

But it is only a temporary job (one month, which I'm not getting paid for,
because I'm unemployed, and I _must_ take the job to continue receiving
unemployment benefits), and my boss (who knows bupkiss about programming)
needs to be able to later maintain what I write during that month. So I'm
stuck with FM, because that's what my boss feels comfortable with. He's
one of those "business knowledge experts".
Trying to learn FileMaker (or any new application) and create a
complicated system in only one month, and then drop that system in someone
else's lap to continue with, is really just a waste of your time and
theirs. It would make more sense to get someone who knows what they're
doing to get it done quickly, and preferably someone who will at least be
around later to help with changes if needed.

Helpful Harry )

Reply With Quote
  #13  
Old   
Howard Schlossberg
 
Posts: n/a

Default Re: Filemaker Pro scripting for "real programmers" ??? - 02-18-2011 , 10:38 PM



On 2/18/2011 5:12 PM, LinuxCub wrote:
Quote:
The term "layout" gives me the creeps, because I don't want anything to be shown anywhere. This is supposed to be something run on a server, automatically, with no user looking at any screen.

But I'll see if I can make sense of what you're saying. At the moment, I still don't know what you mean by "export" (but that's just because I've only been exposed to FM for 2 days).

Layouts are used to give scripts context. You don't need to have any
fields on it if you don't want to. It is just a way of changing your
view of the data to another context.

If this is just running on a server, with no one looking at it, then
there is likely not a need for an export. I thought you were just
trying to get the data out. If not, then what are you trying to do with it?

Sounds like maybe you just need to use a script to loop through parent
records, for each parent get its "children" (related people, either
through a sub-loop in a 2nd window or 2nd layout or whatever), go back
to the parent record and then next parent and repeat. (And when talking
about a script running on a server, all windows and layouts are only
"virtual".)

But what are you doing with the data? If you want to give a little more
detail, then maybe people here would be willing to give you some
pointers. But bashing something just because YOU don't understand it
doesn't really help anyone. Someone who knows what they are doing (and
no, that is not necessarily any typical FileMaker user) can make
FileMaker do whatever they want it to do. You just have to open your
mind to the fact that it isn't SQL.

For that matter, you could use a SQL plugin and make SQL calls from
FileMaker to pull its own data without having to worry about FileMaker's
context.

Or you could use whatever external SQL tool you want to query FileMaker
Server as an ODBC data source.

Reply With Quote
  #14  
Old   
LinuxCub
 
Posts: n/a

Default Re: Filemaker Pro scripting for "real programmers" ??? - 02-19-2011 , 02:52 AM



The data itself may not be seen by anybody, but the scripts will do variousoperations depending on the data (email will be sent to people, etc.)

It is probably that desktop-user mindset that also permeates FM itself, andgives me all that trouble understanding the concepts underlying its scripting language. I'm used to programming on servers, where what "my" program do is massage the data and put the new/altered data back in the database, for some _other_ applications to access later (and possibly display some data, if they want to).

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.