473,503 Members | 2,166 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to avoid re-inventing the wheel

I'm working on a project where I would like to some information in a
table (database entries) but I would like to have some of the commonly
associated functionality like being able to sort by column, etc..

It seems ridiculous to re-invent all of this functionality. I know
there are Java Scripts out there that will turn an HTML textbox into a
WYSIWYG editor, etc.. Does anyone make a class of for lack of a
better term "Widgets" for use on the web. Similar to wxWindows for
GUI programming for example?

It seems that there should be a class that you can simply feed a PHP
array and will produce a nicely formated output with the expected
results. Maybe this is asking too much but even better if it
integrated some AJAX to provide smoother functionality.

Thanks,

Steven Potter

Aug 28 '07 #1
4 1511
Steve Potter wrote:
I'm working on a project where I would like to some information in a
table (database entries) but I would like to have some of the commonly
associated functionality like being able to sort by column, etc..
So, you want a framework with basic CRUD?

I recommend symfony (www.symfony-project.com), but Zend Framework is also
good.

Carl
Aug 29 '07 #2
On Aug 28, 6:49 pm, Steve Potter <steven.pot...@gmail.comwrote:
I'm working on a project where I would like to some information in a
table (database entries) but I would like to have some of the commonly
associated functionality like being able to sort by column, etc..

It seems ridiculous to re-invent all of this functionality. I know
there are Java Scripts out there that will turn an HTML textbox into a
WYSIWYG editor, etc.. Does anyone make a class of for lack of a
better term "Widgets" for use on the web. Similar to wxWindows for
GUI programming for example?

It seems that there should be a class that you can simply feed a PHP
array and will produce a nicely formated output with the expected
results. Maybe this is asking too much but even better if it
integrated some AJAX to provide smoother functionality.

Thanks,

Steven Potter
If you are willing to go the AJAX route (ie: you are comfortable
requiring javascript being enabled to use the site), there's something
which I've been wanting to try but haven't had the chance yet.
Although currently in Beta, the Yahoo library (YUI) has a real slick-
looking datatable widget:
http://developer.yahoo.com/yui/datatable/

Browsing the examples, it looks like it does a whole slew of things
like pagination, sorting, in-line editing, dynamic column resizing,
etc. Like I said, I haven't had a chance to use it in production yet,
but would like to at the next opportunity. I use some of the other
YUI modules and have been consistently happy with it.

Otherwise, if you don't want to go the javascript route, I seem to
remember seeing a PEAR package for a datagrid, though I never used
it. You may want to look into that, also.

Aug 29 '07 #3

On Aug 29, 3:08 pm, Moot <use...@mootsoft.comwrote:
If you are willing to go the AJAX route (ie: you are comfortable
requiring javascript being enabled to use the site), there's something
which I've been wanting to try but haven't had the chance yet.
Although currently in Beta, the Yahoo library (YUI) has a real slick-
looking datatable widget:http://developer.yahoo.com/yui/datatable/

Browsing the examples, it looks like it does a whole slew of things
like pagination, sorting, in-line editing, dynamic column resizing,
etc. Like I said, I haven't had a chance to use it in production yet,
but would like to at the next opportunity. I use some of the other
YUI modules and have been consistently happy with it.

Otherwise, if you don't want to go the javascript route, I seem to
remember seeing a PEAR package for a datagrid, though I never used
it. You may want to look into that, also.

After reading the responses, I have decided that what I am really
looking for is a JavaScript Library. I looked at the EXTjs mentioned
above. I was also looking at the YUI and others. Does anyone have
experience using these or other libraries? Can you make any
recommendations?

Thanks,

Steven Potter
Aug 29 '07 #4
Steve Potter <st***********@gmail.comwrote in
news:11*********************@o80g2000hse.googlegro ups.com:

After reading the responses, I have decided that what I am really
looking for is a JavaScript Library. I looked at the EXTjs mentioned
above. I was also looking at the YUI and others. Does anyone have
experience using these or other libraries? Can you make any
recommendations?
Worthy of a flame war (that I don't want to be involved with), but you
should look at jQuery ( http://www.jquery.com/ ) or Prototype (
http://www.prototypejs.org/ )

I've been using Prototype for a few years and love it, though jQuery has
been generating quite a large buzz and seems to offend the Javascript
"purists" less.
Aug 29 '07 #5

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

Similar topics

4
1989
by: James Henson | last post by:
I'm using a MySQL database from within some Perl and PHP cgi's. To make the connection, I have to supply the username/password in the connection string. This info is readable for anyone that can...
0
1094
by: Erick | last post by:
Hi, Does any one know how to avoid to register of the event log source by the TransactedInstaller object? I have a service which have some code into the main method to self-register base on...
3
2074
by: serge calderara | last post by:
Dear all, I have a vb.net application which start with a sub main procedure. inside this sub main procedure I create a and instance from an assembly x like as follow: sub main() ..... ...
1
1249
by: Corobori | last post by:
Hi, I need to provide a way to download a software and its corresponding manual from a web page. So far I have done the sign in page where people give their data. I will then give access to a...
30
3512
by: seesaw | last post by:
Is it right thing to always avoid using "new" to create objects? What if after starting the application, then decide which and how many objects to create? (Seems like under such situation is there...
32
3072
by: KK | last post by:
Hello all, I have a unsigned char buffer 'buffer' and I need to convert the first 12 bytes of it into a string. Below is a code that should work, however, how can I avoid reinterpret_cast...
5
2239
by: Kevin | last post by:
Hi! Is there anyway to avoid flicking between pages navigation in Asp.Net 2.0, like smartnavigation atribute in asp.net 1.1? Thanks and Regards.
4
2107
by: DC | last post by:
Hi, the subject says it all. Since visible=false controls will still run though Page_Load, I was hoping that the MultiView would somehow manage to avoid a Page_Load of controls in its inactive...
11
53077
Niheel
by: Niheel | last post by:
http://bytes.com/images/howtos/information_overloaded.jpgPaul Graham wrote an interesting article a few months back about how the internet is leading to information overload for information workers...
6
2480
mageswar005
by: mageswar005 | last post by:
Hello Guys, I want to Avoid the Save option when i click the download link in php . I just want open and cancel option only, i dont want save option when i click the download link in...
0
7205
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
7287
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
7349
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7467
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5022
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4688
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3168
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1521
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
746
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.