Трябва да разработя приложение за продуктов каталог (около 4000 продукта), който да се дава на клиентите на CD или DVD. Каталогът съществува във формат на уеб страница с помощта на PHP и MySQL.
ВАЖНО: приложението се дава на клиенти, които може да имат стар компютър, стара система. За минимални изисквания бих сложил Windows XP и Internet Explorer 6 (при нужда).
I need the following features:
1 search option (after productID AND after keyword)
2 print option (by selecting multiple products)
3 shopping cart (making a list which will be sent to an email address if there is any Internet Connection on the computer)
Когато ме помолиха да го направя, имах 2 дни, за да реализирам много основна версия, така че взех целия уебсайт и го експортирах в HTML страници, и разработих приложение на C#, което съдържа вграден браузър. Така че целият уебсайт вече е статичен и поставен на компактдиск. Всичко е наред досега. Ето ги проблемите:
1. the search option was realized by parsing the html files and reading the productID or looking for keywords inside of them. Put on a CD it was extremely slow (searching in 600MB of html files). FOR THIS I WOULD NEED A SOLUTION WITH A STATIC DATABASE (USING ACCESS OR SOMETHING) TO HAVE INDEXED ROWS, SO THE SEARCH COULD BE A VERY FAST ONE.
2. the printing option was a simply call of the embeded Internet Explorer print functions. Here are two problems:
a) user needs IE7 for printing the website scaled (FIT TO PAGE), otherwise the edges of the page are cut down.
b) users of this app does not have even the basic PC usage skills, so they can't set the printing settings, so there will appear in header and footer the page numbers and titles. QUESTION: can I set these settings from CSS for printing?
3. couldn't make a a shopping cart as I don't use a database, so I have static websites and content is inside the HTML.
ВЪПРОС: КОИ СА НАЙ-ДОБРИТЕ РЕШЕНИЯ ЗА ГОРЕОПИСАНИТЕ ПРОБЛЕМИ? МОЛЯ, ОТГОВОРЕТЕ ДОРИ ОТГОВОРЪТ ВИ Е САМО ЗА ЕДИН ВЪПРОС. БЛАГОДАРЯ