473,396 Members | 1,702 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

? about php functionality

I was hoping someone here could answer a question for me regarding the
functionality of php. A while back someone told me I could use it to
accomplish our goal.

We have two assistants who work for the same boss. They use an old
program called Ecco Pro to keep a journal of his calls. The nice thing
about Ecco is both assistants can open and edit the same file at the
same time. As assistant A is making an entry (change or deletion)
assistant B see's the changes in real-time. Same thing if Assistant B
makes changes. I tried using Excel Workbook share tool, but it's not
really what we are looking for.

Can php do something similar, provide near real-time updates to say a
form. The form wouldn't have to be more than a couple of pages in
length, the are constantly adding and deleting entries. The would also
have to be able to save the data when they leave for the evening. It's
a Windows environment, if that matters.

I loaded php on my machine at home this weekend, but couldn't find a
function to do this, perhaps it's available as an add-in extension.
Any advice is greatly appreciated.

Robert

Jul 17 '05 #1
4 1536
Robert,

PHP is server-side language and used to build dynamic web applcations.
So, PHP itself will not have a function (like a prepackaged tool) to do
it out-of-the-box, if that is what you are looking at.

You will have to write an application that will read, display and
modify the database (in your case, Excel spreadsheet) and provide a
suitable web interface to the admin assistants.

About real time updates, you will do employ something like the server
push method so that the server refreshes the assistants' browser
screens after each update. I believe that is about the most real time
you can get using a web application. Or else, you have to auto refresh
the page every few minutes (using the refresh tag) so that the updated
status is displayed.

Another option might be to use PHP to script a local application (PHP,
GTK with COM), but I have never done it so, I am not in a position to
say more.

Hope that helps in your search.

Thanks,
--Kartic

Jul 17 '05 #2
<Ro************@PJSolomon.Com> wrote in message
news:11**********************@c13g2000cwb.googlegr oups.com...
I was hoping someone here could answer a question for me regarding the
functionality of php. A while back someone told me I could use it to
accomplish our goal.

We have two assistants who work for the same boss. They use an old
program called Ecco Pro to keep a journal of his calls. The nice thing
about Ecco is both assistants can open and edit the same file at the
same time. As assistant A is making an entry (change or deletion)
assistant B see's the changes in real-time. Same thing if Assistant B
makes changes. I tried using Excel Workbook share tool, but it's not
really what we are looking for.

Can php do something similar, provide near real-time updates to say a
form. The form wouldn't have to be more than a couple of pages in
length, the are constantly adding and deleting entries. The would also
have to be able to save the data when they leave for the evening. It's
a Windows environment, if that matters.


It depends on what you mean by "real time".

If you mean Observer Pattern, where one user makes a change and that change
is automatically displayed on the other user's screen then doing this in php
or any http based application would be painful to the point that it really
isn't worth doing unless you're a coding guru with lots of time to spend
doing the job (and since you are asking here then I guess you're not).

If you mean that two or more users can access data concurrently then yes php
can help you, but again this means you'll have to learn some programming
skills but not to the extent of implementing observer pattern.

However I suspect it is more likely that you would benefit from looking for
an existing application that would meet your needs. Try looking @
http://www.freshmeat.net/

Jul 17 '05 #3
<Ro************@PJSolomon.Com> wrote in message
news:11**********************@c13g2000cwb.googlegr oups.com...
Can php do something similar, provide near real-time updates to say a
form. The form wouldn't have to be more than a couple of pages in
length, the are constantly adding and deleting entries. The would also
have to be able to save the data when they leave for the evening. It's
a Windows environment, if that matters.


The answer is a qualified no. Providing that kind of data sychronization
requires a level of integration between the server and client that goes
beyond your standard web browser and server. You might be able to do it with
Internet Explorer's data-binding feature and ASP.Net.
Jul 17 '05 #4
You are correct. Perhaps my question should have been worded
differently. It doesn't have to be real-time per se, but I need them to
be working off the same file similiar to Ecco so only one deletion is
being made and no synch issues etc. They make 20-30
additions/changes/deletions per day. I'll take a look at the link you
prodvided.

Thanks.

Robert
CJ Llewellyn wrote:
<Ro************@PJSolomon.Com> wrote in message
news:11**********************@c13g2000cwb.googlegr oups.com...
I was hoping someone here could answer a question for me regarding the functionality of php. A while back someone told me I could use it to accomplish our goal.

We have two assistants who work for the same boss. They use an old
program called Ecco Pro to keep a journal of his calls. The nice thing about Ecco is both assistants can open and edit the same file at the same time. As assistant A is making an entry (change or deletion)
assistant B see's the changes in real-time. Same thing if Assistant B makes changes. I tried using Excel Workbook share tool, but it's not really what we are looking for.

Can php do something similar, provide near real-time updates to say a form. The form wouldn't have to be more than a couple of pages in
length, the are constantly adding and deleting entries. The would also have to be able to save the data when they leave for the evening. It's a Windows environment, if that matters.
It depends on what you mean by "real time".

If you mean Observer Pattern, where one user makes a change and that

change is automatically displayed on the other user's screen then doing this in php or any http based application would be painful to the point that it really isn't worth doing unless you're a coding guru with lots of time to spend doing the job (and since you are asking here then I guess you're not).
If you mean that two or more users can access data concurrently then yes php can help you, but again this means you'll have to learn some programming skills but not to the extent of implementing observer pattern.

However I suspect it is more likely that you would benefit from looking for an existing application that would meet your needs. Try looking @
http://www.freshmeat.net/


Jul 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Vikas | last post by:
Hi y'all, I need logging functionality to provide me following: - logging levels that can be set at run-time. - able to output to different files for different levels - thread safe - line,...
2
by: Tom | last post by:
Hello, I'm looking for a tool that would allow me to create a web page with the spreadsheet like functionality. Basically, I want to be able to type in a number in the cell and have all totals...
25
by: KK | last post by:
Hi, I am using history.go(-1) for implementing the back button functionality. Its working fine but with this exception. 1. The page which is having back button has some hyperlinks on it. ...
0
by: blongmire | last post by:
OS: WinXP Home Access 2000 Word 2000 I loaded 1998 vintage 16-bit business mapping software onto a PC and I think it overlayed some OS files dealing with DDE functionality. After that software...
0
by: rellik | last post by:
Hi All, I've run into a problem with the MenuStrip control and any help would be greatly appreciated! The problem I've got is that when use a control derived from the MenuStrip class all MDI...
1
by: Srini | last post by:
How do I do a functionality for a ASP.NET web application? Is there an automated way to do this? Can ACT do functionality test apart from the stress tests? When I make some change to the...
11
by: MadMonk | last post by:
Hi, I need to write a small Windows application (console or forms) (for Windows XP SP2 & Windows Server 2003), which will check a folder for the presence of some files, and if they exist, it...
23
by: Dautkhanov | last post by:
Hello ! Does anybody have cutted version of prototype.js with the AJAX functionality only? I am a new in prototype.js topic, so I think this task should be done by other developers. Maybe...
26
by: karthikbalaguru | last post by:
Hi, While trying to understand the difference between the following 2 methods, i have some interesting queries. Method 1) char *s = "Hello"; and Method 2) char s = "Hello"; How does the...
1
by: Monty | last post by:
I know this isn't necessarily an ASP.Net question, but it is web programming and I intend to try it using ASP.Net, I just need to get pointed in the right direction. I've seen some sites that allow...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.