PDA

View Full Version : The webBase Project with Ext-2.0.2 and MXDesktop 0.7.1


cobnet
12-26-2007, 12:37 AM
Updated: 05/13/2008.
Uploaded latest files. Moved Sql files into zip file. Removed all special characters from table and field names in the database.
Updated all php files to reflect these changes. Again no upgrade path, will need to start from the top. Maybe this will be the last time?

Updated: 05/11/2008. 2nd Time
We now have grids for all tables! Next I have to work on linking the grids. Any help greatly appreciated. Til next time.

Updated: 05/11/2008.
Uploaded latest files. Many changes, no upgrade path, must update all files. Rename all modules according to instructions below. There should be no more renaming of files, folders, moduleNames etc from here on, at least I hope not? The zip file will be the only name that should change.

Updated: 05/07/2008.
Uploaded latest files.

The desktop files made a successful transition to the latest Ext 2.1!
The desktop files are working with the latest Desktop 0.7.1 coding.

Deleted OLD webBase.zip file. From here on any coding for Desktop versions before 0.7.1 will not be available here.
Added: NEW webBase4.zip file. This is the latest coding with many changes.

Installation for Desktop 0.7.1:
Before installing files below you will need of course the Desktop App and the Qo Admin Modules at:
http://qwikioffice.com/forum/viewtopic.php?f=6&t=35
installed and working correctly.

Download webBase4.zip file.
Unzip the file.

Next please read the readme.txt file for further plugins needed before installing these files.

Once all plugins are installed and working continue with:
Upload files to your desktop app's system/modules/ folder.

Unfortunately you will have to update the wb.php file for your database connections.
Instructions are included in the wb.php file.

Use the Qo.Admin Module to install the following to your desktop:


module: wbMenu
file: wbMenu.js
-
module: wbNameSearch
files: wbNameSearch.css, wbNameSearch.js, wbNameSearch.php
-
module: wbEventSearch
files: wbEventSearch.css, wbEventSearch.js, wbEventSearch.php
-
module: wbParentsSearch
files: wbParentsSearch.css, wbParentsSearch.js, wbParentsSearch.php
-
module: wbResourceSearch
files: wbResourceSearch.css, wbResourceSearch.js, wbResourceSearch.php
-
module: wbSourceSearch
files: wbSourceSearch.css, wbSourceSearch.js, wbSourceSearch.php
-
module: wbUrlSearch
files: wbUrlSearch.css, wbUrlSearch.js, wbUrlSearch.php
-
module: wbVariantSearch
files: wbVariantSearch.css, wbVariantSearch.js, wbVariantSearch.php
-
module: wbGenCard
files: wbGenCard.css, wbGenCard.js


That should be it?

The wbGenCard module links all the tables with the appropriate info.

The php files currently only send data from the database, there is no saving of new or edited records. I will be re-working these files and will update the zip file when they are ready.

Thanks to Saki for the excellent recordform plugin at http://extjs.com/forum/showthread.php?t=31341

Our new grids are based off this plugin. Supposedly we should be able to call a grid into any window, panel, etc. without having so much duplication in the coding now!

Updated: 02/28/2008.
Deleted alot of UPDATED messages in this posting - no longer needed.

Updated: 02/11/2008.
MySql bug in treeid.php file. It is fixed now! I am wondering about a possible endless loop in the while call of this file. Suppose a parent has a child listed, then this child links back to the parent as a child. Would this while call loop forever?

Updated: 02/09/2008.
Thanks to the great Tutorial at: http://extjs.com/learn/Tutorial:Ext20_Tree_TreeLoader_PHP_MySQL
I have updated the GenCard and TreeID windows to open an individual window on tree click.

Updated: 12/27/2007.
Added SQL files to setup your own Surname webBase.
- Note the readme file.

---------------------------------------------------------------

This is my first attempt using the MyDesktop framework by MXRacer. It is far from complete but it is a pretty good example of using ExtJS in a research application.


Demo Link (http://cobnet.com/icmsBeta2/extjs/examples/wb)

Looking for ideas, suggestions and more........ Someone with more time than me, lol!

jgarcia@tdg-i.com
12-27-2007, 09:12 AM
cool :)

there is some rendering issues w/ firefox for windows.
http://tdg-i.com/img/screencasts/2007-12-27_1012.png

cobnet
12-27-2007, 03:36 PM
cool :)

there is some rendering issues w/ firefox for windows.

Thanks, I thought that button was supposed to look like that. I'll check into it.

cobnet
01-28-2008, 03:47 PM
Updated: 01/25/2008.
Added DesktopConfig.js file.
-- Simply rename your current file and drop this one in place. Also please read the notes at the Demo link below in DOCS window.

cobnet
02-09-2008, 10:15 AM
Updated: 02/09/2008.
Thanks to the great Tutorial at: http://extjs.com/learn/Tutorial:Ext20_Tree_TreeLoader_PHP_MySQL
I have updated the GenCard and TreeID windows to open an individual window on tree click.

Updated DesktopConfig.js - reloaded zip file. Old one had 36 views.
Added first php file: Treeid.php file - Treeid.zip.

mxracer
02-09-2008, 10:59 AM
Thanks, I thought that button was supposed to look like that. I'll check into it.

Hi. My vista black theme isn't 100% finished. I have never set a window to be collapsible
in my desktop and hadn't noticed the missing button image for this.

xmatt1
02-11-2008, 05:19 AM
very cool..
i will studie this..
very nice!

cobnet
02-12-2008, 02:55 PM
RE: MXRacer, thanks for jumping in here with the solution!

RE: Matt, Jump in where you find a need.

Updated DesktopConfig for relative paths. We now have 5 php files. Let me know how it works!

cobnet
02-29-2008, 07:05 AM
Updated this posting and added a new zip file for the Desktop 0.7.1 App by MXRacer.

Demo of current download code. I could use some ideas on the new GenCard window. I am having trouble setting the height and width of the grids to fill the panel that they are rendered into. I also need to add a photo panel near the top right hand side of the panel. I will try to move these panels into the layout-window and see if this changes anything?

Read first posting for more details.

cobnet
05-07-2008, 07:50 PM
Thanks to Saki for the excellent recordform plugin at http://extjs.com/forum/showthread.php?t=31341

Our new grids are based off this plugin. Supposedly we should be able to call a grid into any window, panel, etc. without having so much duplication in the coding now!

Currently the php files only send data from the database, there is no saving of new or edited records to the database. These files do no user checks, so they should be very fast at this. I would like the saving of new or edited records to use a different php file, since this would require more of the script, such as: Is this a valid user?, are they logged in? etc.

The wbGenCard2 module needs some updating and this will probably be my next task. Any ideas, suggestions on a better layout for this module before I get to far into this?

Til next time,
Mark

heshuai64
05-08-2008, 12:33 PM
very good,i very like

cobnet
05-11-2008, 03:57 PM
Updated: 05/11/2008. 2nd Time
We now have grids for all tables! \:D/ :-? Next I have to work on linking the grids. Any help greatly appreciated. Til next time.

Updated: 05/11/2008.
Uploaded latest files. Many changes, no upgrade path, must update all files. Rename all modules according to instructions in the first posting. There should be no more renaming of files, folders, moduleNames etc from here on, at least I hope not? The zip file will be the only name that should change.

gimbles
05-13-2008, 03:36 PM
Very cool, its looking real good!

tdktank59
05-27-2008, 06:56 PM
Very nice,

Farther than ive gotten for my work lol...

Anyways There was bug when i minimized the slacker player thing and maximized it again it came up with the chat and refreshed the window...

So id look into that?

cobnet
05-28-2008, 12:18 PM
Very nice,

Farther than ive gotten for my work lol...

Anyways There was bug when i minimized the slacker player thing and maximized it again it came up with the chat and refreshed the window...

So id look into that?

Thanks for the info, this is the widgets plugin. It still needs lots of work. I have been trying to use the examples from the miframe thread but he uses mostly entire pages or simple html, not really snippets of code. This plugin is not that great as it is now, updating may be a bit?

This widgets plugin is not currently part of the webBase Project however it does have potential to be a useful tool.

Thanks again,
Mark

BTW: Your account now has new permission levels. You can now add/edit your own widgets.