table and class



Hi,

in my web application (as quite all web applications) i have a lot of
tables. I mean by table the <table> tag with for sure some data displayed in
it from SQL requests.
To not have to write the whole code every time i was thinking to make a
class that :
- will manage the whole design (color, images, width, height of cells,...)
- will manage the paging (to limit the data transfer from DB server to
client browser)
- will manage the sorting and search (classic and advanced) of data based on
some online built query (user should be able to do something like field1 =
value 1 OR field 1 = value2 AND field4 = "a")

therefore i would like to know if to encapsulate everything in PHP classes
(integrating javascript and css) will be the best approach or not ?
because i would like to keep it as simple as possible in order to
redistribute later this package.

or should i mix javascript "classes" and PHP classes ?

thx.

--
Alain
------------------------------------
Windows XP SP3
PostgreSQL 8.2.4 / MS SQL server 2005
Apache 2.2.4
PHP 5.2.4
C# 2005-2008


Relevant Pages

  • Re: Error : "SELECT permission denied on object"
    ... The SQL Server Express installation does not grant access to the ASP.NET ... worker process identity (ASPNET on Windows 2000 and Windows XP; ... filesystem Web applications will run under the Visual ... Web applications cause permission denied errors at runtime. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Database for .NET Windows, PPC, and elsewhere?
    ... > with web applications. ... Replication is necessary. ... > I could go the SQL Server way, and it would certainly work, but it has ... with ADOCE on the PPC. ...
    (microsoft.public.dotnet.general)
  • Re: SQL Server 2005 - getting Bruteforced
    ... The SQL Server is running on an Internet Server with ASP.NET v2 remotely. ... We are testing several Web Applications there with a Remote Team. ... The ASP.NET Applications are using SQL Authentication instead of Windows ... Here's an example ADO.NET connection string using integrated security. ...
    (microsoft.public.sqlserver.security)
  • Re: SQL Server 2005 - getting Bruteforced
    ... We are testing several Web Applications there with a Remote Team. ... The ASP.NET Applications are using SQL Authentication instead of Windows Authentication. ... Also you can move SQL Server off of port 1433, and change your connection strings accordingly. ...
    (microsoft.public.sqlserver.security)