mobileAttendance

2 views
Skip to first unread message

Tessy Smith

unread,
Oct 19, 2009, 10:13:37 PM10/19/09
to iR Developer Community
If anyone is interested, I just uploaded the files for the
mobileAttendance project. There is an .fp7, a .zip file (which
contains the php code) and a .doc file which explains where the files
should go once they are extracted. This is the web version of the
application, not the IWP version. The user interface is made for an
iPhone but it can run in any browser. If you have any questions about
any of it feel free to email me.

Charlie Bailey

unread,
Oct 20, 2009, 5:09:29 AM10/20/09
to irdevco...@googlegroups.com
Nice! Can't wait to check it out Tessy.

--
Charlie Bailey
EVP Product Development and CTO
inRESONANCE
Northampton MA
http://twitter.com/charliebailey

Charlie Bailey

unread,
Oct 20, 2009, 5:10:25 AM10/20/09
to irdevco...@googlegroups.com
BTW: here's the direct link to the downloads page:
http://code.google.com/p/ir-devcamp-mobile-attendance/downloads/list


--
Charlie Bailey
EVP Product Development and CTO
inRESONANCE
Northampton MA
http://twitter.com/charliebailey


Steven Jay Cohen

unread,
Oct 20, 2009, 11:08:14 AM10/20/09
to irdevco...@googlegroups.com
So, when you were weighing IWP against php, what were the pluses and minuses of each?

Just wondering,

Steven


-----
Steven Jay Cohen | Web Developer
inRESONANCE ... Solutions that resonate

Tessy Smith-fac

unread,
Oct 20, 2009, 11:21:40 AM10/20/09
to irdevco...@googlegroups.com
Hi Steven,

In this case I could have gone either way but since there weren't too many
layouts and php allows me the freedom to develop the interface any way I
want, I decided to go that route. Usually, the deciding factor for me is
what the user is going to be entering, how many screens there will be and
now, whether or not I will be developing for an iPhone interface.

If they are entering alot of text (like in grades and comments) I would
probably use php because of the disconnect time in IWP. I have gotten
burnt by that before by doing an online hiring database where the
interviewers enter their comments. If they started typing, walked away
then came back, if the system disconnected them (filemaker not the
internet) they would lose all their comments. I don't like to tell my
users that there is a chance they are going to lose their data and they
need to type things into word first then cut & paste.

If it is a system that requires small bits of input and there are going to
be alot of screens required and I am not developing for an iPhone, I would
use IWP. For example, I am going to be using IWP to develop a placement
database for students for their next year courses. There is not alot of
typing involved but I have to present the teachers with alot of
information so they can do their analysis. In that case, I don't want to
waste alot of time developing the php to display the data although I may
eventually go that route.

If it is going to be used on an iPhone I would use .php. I think the
interface comes out much nicer. At some point FM Touch may be good enough
to use but then you require syncing and that is just a mess.

Just my thoughts...

Take care.
Tessy

irdevco...@googlegroups.com writes:
>So, when you were weighing IWP against php, what were the pluses and
>minuses of each?
>
>
>Just wondering,
>
>
>Steven
>
>
>-----
>Steven Jay Cohen | Web Developer
>inRESONANCE ... Solutions that resonate
>
>

>[ mailto:steven.j...@inresonance.com
>]steven.j...@inresonance.com | 413.587.0236 x22 | [
>http://www.inresonance.com/ ]www.inresonance.com

zie

unread,
Oct 21, 2009, 12:09:43 AM10/21/09
to iR Developer Community
Nice...
""" If they started typing, walked away
then came back, if the system disconnected them (filemaker not the
internet) they would lose all their comments."""
set that php web-user(whatever you called it) privilege option to not
"Disconnect from FileMaker Server when idle".
that should do it. An alternative is to set the idle time really high
on the server-side of things.

Question, How are others making commits to those projects?

-
zloua...@gmail.com

Steven Jay Cohen

unread,
Oct 21, 2009, 10:22:28 AM10/21/09
to irdevco...@googlegroups.com
Thinking about this from a very "webby" mySQL-ish angle, I usually use a very simple lock system.

When someone opens a file to edit, it is timestamped. The timestamp is updated once-per-minute. If the timestamp is 5 minutes out of date, then the record is unlocked.

If a second person tries to open a locked record, they are dropped into a view only mode (or otherwise notified that the record is being edited by someone else).

That 5 minute test usually catches people who logged out mid-record or have completely lost their connection to the net. If that person reconnects during the five minutes (think spotty wireless) then they still have control of the record. The timestamp updates, and all is well.

If they connect after 6 or more minutes, the records are compared. If they are the same (and the record is not checked out) then, they continue as if nothing happened. If the record has been edited while they were offline, they are alerted that their record is out of date and their changes are lost. They then receive the updated data. If the record is checked out, they lose their changes and are dropped into read only mode on that record.

Does this approach not have a corollary in FileMaker?

Steven


-----
Steven Jay Cohen | Web Developer
inRESONANCE ... Solutions that resonate

Tessy Smith-fac

unread,
Oct 21, 2009, 10:32:46 AM10/21/09
to irdevco...@googlegroups.com
Not that I know of with IWP. Even when connected via the network using a
filemaker application, if I am disconnected, whatever I have been working
on is lost.

>http://www.inresonance.com/ ]www.inresonance.com

>
>On Oct 21, 2009, at 12:09 AM, zie wrote:
>
>
>
>
>Nice...
>""" If they started typing, walked away
>then came back, if the system disconnected them (filemaker not the
>internet) they would lose all their comments."""
>set that php web-user(whatever you called it) privilege option to not
>"Disconnect from FileMaker Server when idle".
>that should do it. An alternative is to set the idle time really high
>on the server-side of things.
>
>Question, How are others making commits to those projects?
>
>-

>[ mailto:zloua...@gmail.com ]zloua...@gmail.com
>
>


Christian Caritan

unread,
Oct 21, 2009, 10:38:01 AM10/21/09
to irdevco...@googlegroups.com
Hello,

When on the LAN, aren't changes saved instantaneously? On IWP,
however, I have experienced work loss.

All the best,

Christian Caritan

Tessy Smith-fac

unread,
Oct 21, 2009, 10:45:00 AM10/21/09
to irdevco...@googlegroups.com
Hi Christian,

Yes. You are right about that.

Tessy

Charlie Bailey

unread,
Oct 21, 2009, 7:11:51 PM10/21/09
to irdevco...@googlegroups.com
When using an FMP client, changes are saved when you commit the record. Committing a record can be accomplished all sorts of ways including via script trigger in FM10. With a script trigger, it is be possible to commit a record after every keystroke. I'm unaware of any way to accomplish the same thing with IWP.



--
Charlie Bailey
EVP Product Development and CTO
inRESONANCE
Northampton MA
http://twitter.com/charliebailey


zie

unread,
Oct 21, 2009, 11:41:55 PM10/21/09
to iR Developer Community
Charlie is correct, there is no such thing that I know of either;
natively speaking that is.
To take care of your problem Tessy, (which isn't really a problem for
some sensitive databases like KEYSTONE for instance)
Uncheck the "Disconnect from FileMaker Server when idle" for the IWP
user in question or simply change the idle time for your databases.

question on all those nice projects. How does filemaker files deal
with differing revisions? I did diff and nothing! also checkout a
specific revision and I get a corrupted files. humnn

On Oct 21, 7:11 pm, Charlie Bailey <char...@inresonance.com> wrote:
> When using an FMP client, changes are saved when you commit the record.
> Committing a record can be accomplished all sorts of ways including via
> script trigger in FM10. With a script trigger, it is be possible to commit a
> record after every keystroke. I'm unaware of any way to accomplish the same
> thing with IWP.
>
> --
> Charlie Bailey
> EVP Product Development and CTO
> inRESONANCE
> Northampton MAhttp://twitter.com/charliebailey
> > >>> [ mailto:steven.jay.co...@inresonance.com
> > >>> ]steven.jay.co...@inresonance.com | 413.587.0236 x22 | [
> > >>>http://www.inresonance.com/]www.inresonance.com
>
> > >>> On Oct 21, 2009, at 12:09 AM, zie wrote:
>
> > >>> Nice...
> > >>> """ If they started typing, walked away
> > >>> then came back, if the system disconnected them (filemaker not the
> > >>> internet) they would lose all their comments."""
> > >>> set that php web-user(whatever you called it) privilege option to not
> > >>> "Disconnect from FileMaker Server when idle".
> > >>> that should do it. An alternative is to set the idle time really high
> > >>> on the server-side of things.
>
> > >>> Question, How are others making commits to those projects?
>
> > >>> -
> > >>> [ mailto:zlouatt...@gmail.com ]zlouatt...@gmail.com

Steven Jay Cohen

unread,
Oct 22, 2009, 8:25:45 AM10/22/09
to irdevco...@googlegroups.com
What would be ideal is something like...

When Field foo looses focus, update value of foo.

That way, data could be committed on a per field basis.


-----
Steven Jay Cohen | Web Developer
inRESONANCE ... Solutions that resonate

Reply all
Reply to author
Forward
0 new messages