AMCphp - 1.0 released (bugfix + history report)

If you made a template for printing or HTML export, you can offer it to the others here. You can also ask here for help about these templates
Post Reply
juise
Posts: 9
Joined: 2003-12-04 08:00:45
Location: USA (Midwest)
Contact:

Post by juise »

I can't wait! The XML parsing beats the living crap out of my poor lil' dual PIII 800 :(
Alexey Petrov
Posts: 25
Joined: 2004-07-16 09:12:26
Location: Moscow, Russia
Contact:

Post by Alexey Petrov »

juise wrote:I can't wait! The XML parsing beats the living crap out of my poor lil' dual PIII 800 :(
Huh! :)
If you know, what happens with my 1GHz-workstation (not server!), when in the evening there is about 200 visits per hour to my AMCphp video-catalog with 900 movies...
juise
Posts: 9
Joined: 2003-12-04 08:00:45
Location: USA (Midwest)
Contact:

Post by juise »

Alexey Petrov wrote: Huh! :)
If you know, what happens with my 1GHz-workstation (not server!), when in the evening there is about 200 visits per hour to my AMCphp video-catalog with 900 movies...
Yes, yes I do :cry:
Ormus
Posts: 102
Joined: 2003-08-05 16:47:05
Contact:

Post by Ormus »

Here's a work in progress. It's still lacking major parts, but should work. check the settings.php, various settings have been added (like grid config and xml filename).

Attention! Unfinished version! Requires php 5!
http://amc.loben.net/download/amc5.zip

I've opened the russian catalog of Alexey with all 800+ movies on one page in under 1 second. To early for tests with multiple sessions at once though. But have a look and give me feedback...

edit: I just compared AMCphp1.0 and the above version. My development machine is rather fast, but I'ld say the new one is about 10 times faster creating the page. My guess is, it will not slow down as much as the old version with multiple users online either..
juise
Posts: 9
Joined: 2003-12-04 08:00:45
Location: USA (Midwest)
Contact:

Post by juise »

Hot damn!

I gave the 5.0 beta a run on my web-server (dual P-III 800 on FreeBSD, 1.61 MB XML file with about 570 movies, 10megabit Internet connection) and it takes about 3 seconds for the page to show up (connecting from my cable connection at home). This is a hojillion times faster then the 1.0 version. I can't wait for a fully working version.

Thanks for all the work Ormus.
Ormus
Posts: 102
Joined: 2003-08-05 16:47:05
Contact:

Post by Ormus »

Glad you like it... I might have to drop one or two things from the php4 version though. For example: I can't sort the list on demand, unless I turn it into an array in memory (cause the new simplexml object is not sortable to my knowledge) :(

But I'll keep working on it, we'll see if anyone likes the result...
m1chael

Post by m1chael »

Could u maybe put the list online for 1 day or so, to check it out ?

Since im not able to host php atm, im thinking of buying my own domain.

So it would be nice to see it online.
Ormus
Posts: 102
Joined: 2003-08-05 16:47:05
Contact:

Post by Ormus »

@m1chael: You can install it on your local machine. Just install apache webserver and php5, it's rather easy. Or have a look at Alexeys online demo (found on the previous page). It looks pretty much like AMCphp does and AMCphp5 will...

One question to everyone interested in AMCphp5: Do you consider sortable lists very important? Or do you rarely need it? I'm asking because making the lists sortable costs quite some performance, so I'm considering droping it or making it optional.
Alexey Petrov
Posts: 25
Joined: 2004-07-16 09:12:26
Location: Moscow, Russia
Contact:

Post by Alexey Petrov »

I suppose, any AMC PHP/XSLT/Flash-Template has just two main features, which differ them from a static HTML-catalog (Movie list + many Description-files):
Searching and Sorting (all the rest are optional :) )

So, it's very important to keep optional "sorting" feature!
Guest

Re: AMCphp - 1.0 released (bugfix + history report)

Post by Guest »

Je ne parviens pas à faire fonctionner ce template; Qui peut m'aider ?
Alexey Petrov
Posts: 25
Joined: 2004-07-16 09:12:26
Location: Moscow, Russia
Contact:

Post by Alexey Petrov »

@Guest:
Which template version do you use? Is there access from Internet to the server, where you try to install template?

PS: Please write in english, if you can, because it's not too easy for some people to read in french. ;)
Guest

Post by Guest »

Thank you. Sorry but I do not speak English :( . Just some memories
of school. My version is the 1.0.
Alexey Petrov
Posts: 25
Joined: 2004-07-16 09:12:26
Location: Moscow, Russia
Contact:

Post by Alexey Petrov »

Possibly, there is an issue with your Web-Server or PHP-module...
If you explain your problem in detail to me, I will be able to help you. My ICQ: 81207702
Guest

Post by Guest »

I think that I don't know to install it… I made as is written in
the file " read me" but when I export my file in html by opening the template, I obtain a file
html. But, when I try to open it. I obtain only this:
Image
Alexey Petrov
Posts: 25
Joined: 2004-07-16 09:12:26
Location: Moscow, Russia
Contact:

Post by Alexey Petrov »

1. You shouldn't export your Ant Movie Catalog to HTML for AMCphp Template, just save it in XML-format (File->Save As -> .XML)
2. Put this XML-file (and, possibly, all its pictures) to AMCphp Template's directory
3. Open file parser.php in a text editor and change the line:
$xmlSource="MovieCatalog.xml";
to your XML-file's name
4. And the most important!: you should not open Template's index.html in browser just from a local directory, but via your web-server.

For example, in Windows XP there is embedded web-server: Internet Information Services (IIS 5.0). Install and setup it to grant access to AMCphp Template's directory via "Adminitration Tools\IIS Service Control".
Also you should install module PHP for Win32 ( http://www.php.net/get/php-4.3.8-instal ... m/a/mirror - 1 MB). It will automatically integrates to your IIS web-server. Just modify after installation the file c:\windows\php.ini - change:
error_reporting = E_ALL ...
to
error_reporting = E_ERROR ...
- else AMCphp Template will show many PHP-warnings.

After that start (or restart) your WebServer and open Template's index.html in browser via Web-Server - for example:
http://localhost/amcphp/index.html
It will be also accessible from any computer in your network - just change in address localhost to your IP-address or computer name...
Guest

Post by Guest »

Thanks for your help. I tested what you explain me. But I do not have ISS 5.0. And in
Administration tools, I do not have ISS Service Control. I am however
on XP…
:(
antp
Site Admin
Posts: 9630
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

You can also install EasyPHP, I guess (if only PHP and a web server is needed)
Alexey Petrov
Posts: 25
Joined: 2004-07-16 09:12:26
Location: Moscow, Russia
Contact:

Post by Alexey Petrov »

If you have Windows XP Professional, you can add IIS 5.0 from Windows Standart Components:
Control Panel -> Add/Remove Programs -> Add Windows Components -> Application Server -> Internet Information Services -> Common Files + Internet Information Services Manager + World Wide Web Service

If you have Windows XP Home Edition, EasyPHP 1.7 will be actually the best solution. It contains:
- Apache Web Server 1.3.7
- PHP 4.3.3
- MySQL database server 4.0.15 (not needed to you)
- PHPMyAdmin 2.5.3 - Web Interface for MySQL (not needed to you)
... and it's free.
You can download EasyPHP here: http://www.easyphp.org/telechargements.php3 (10 MB)
juise
Posts: 9
Joined: 2003-12-04 08:00:45
Location: USA (Midwest)
Contact:

Post by juise »

I kinda like having the sortable list. I'd be fine with you making it optional, but I would really hate to loose it completely.
Ormus wrote:
One question to everyone interested in AMCphp5: Do you consider sortable lists very important? Or do you rarely need it? I'm asking because making the lists sortable costs quite some performance, so I'm considering droping it or making it optional.
Guest

Post by Guest »

Alexey Petrov wrote:If you have Windows XP Professional, you can add IIS 5.0 from Windows Standart Components:
Control Panel -> Add/Remove Programs -> Add Windows Components -> Application Server -> Internet Information Services -> Common Files + Internet Information Services Manager + World Wide Web Service

If you have Windows XP Home Edition, EasyPHP 1.7 will be actually the best solution. It contains:
- Apache Web Server 1.3.7
- PHP 4.3.3
- MySQL database server 4.0.15 (not needed to you)
- PHPMyAdmin 2.5.3 - Web Interface for MySQL (not needed to you)
... and it's free.
You can download EasyPHP here: http://www.easyphp.org/telechargements.php3 (10 MB)
Thank you. Absent a few days, I will try on my return. :)
Post Reply