Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - lemongrove

Pages: [1]
1
Development Deliberation / Re: Java web programmer any use?
« on: January 11, 2008, 09:33:04 pm »
Ok thanks ACraig

Thats a v. good overview. You need to decide what you want. Yes, there are full Java bindings for CrystalSpace as there are for OpenGL with JOGL and LWJOGL etc etc. If having graphical character creation facilities would be desirable. Lots of work has been done PHP wise, its not worth throwing unless you envisage something considerably more advantageous.

Once you know what you want let me know.

All the best
PR


2
Development Deliberation / Re: Java web programmer any use?
« on: January 11, 2008, 04:34:47 pm »
So the 'C' code server application, caches in memory many of the data changes made by game designers, and writes these to the database on restart. How are these game designers working with the C App, is there another interface to this part of the system? Does it log them into a replay journal in case of crash?

But my app. would be writing directly into the MySQL DB. so changes would be immediate. Unless you wish me to write them to the PS Server instead. Which would be a different story. Currently surely the PHP app. is also writing directly to the DB so changes are immediate also?

So it seems that a server based Webapp is what the Req. Spec. is heading towards?

I was thinking that if you want to replace the PHP WC then you will need to install Java on the server. Or on a server. Then the easiest thing to do is to simply run up Tomcat on port 8080 or pick one port no, (on a windows box anyway..). This will give you the required Java servlets and a way of testing them. But as I understand it the server is stretched currently anyway? Using Apache with Tomcat gets complicated as you have to start using Connectors behind Apache to pass requests through to the Servlets. I have no experience of this. But then you can go straight to port 80..

Best regs PR


3
Development Deliberation / Re: Java web programmer any use?
« on: January 11, 2008, 03:06:50 pm »
Ok Caarie

Many thanks for reply. Its a big picture, I'm sure I'll understand more presently. The DB adminstrator can restrict with logins get access to which tables/data in MYSQL Admin so that should can help stop people running riot. Whether via a webapp or directly with MySQL logins. With the space thing, I wish I was a millionaire! I would donate! By direct access you mean a login to MySQL itself I guess. Weird that changes come after a restart, I run MySQL locally and on my server which my business runs on, and both update instantly. Perhaps its been set up that way? I would help to keep an eye on whats been changed!

Many thanks
PR

4
Development Deliberation / Re: Java web programmer any use?
« on: January 11, 2008, 02:42:23 pm »
Many thanks Steuben. That helped to see. Yes, in Java, you hook up to the driver, and normally use standard SQL syntax. Though my experience is that complex queries don't always work. Simple non-compound queries seem always to. But sometimes I have found complex queries are only possible if run as a set of simple queries one after the other. Depends on the JDBC driver. Has an advantage that once we need to run a Super-clustered 10 server database we are tied only by which DBs have a good JDBC driver.
I think you can easily limit people from accessing the database from within the MySQL admin console by machine network address, passwords aside. Though I know that will only be useful if everyones on static IPs!
1. What I can't understand is this - If you are worried about people changing DB data, why does it matter if they are doing it from within a Client side web app, or from a client side GUI? Its the same thing?
2. So the new Web console would need to write Control Version Changes into the SVN? Or just into some internal log?
3. How does change control work here is the SVN not allowing 2 users concurrent changing of database data?
4. Normally in the past I have just accessed the DB directly and made the changes requested. Rather than trying to second-guess the way its working currently can you fill me in please?
5. Changes come after server restart? I'm guessing you are writing to a 'Test' database initially. On my server that I work with currently, MySQL stuff once changed goes in immediately.


Many thanks
PR

5
Development Deliberation / Re: Java web programmer any use?
« on: January 11, 2008, 11:28:43 am »
A point that made me smile :)
"This is comparible to writing something like phpMyAdmin or a similar MySQL type of interface?"

To Clarify Steuben's point - the Webclient formulates SQL queries for you currently, and adds revision information into the SVN? The Webclient directly alters the tables or you upload the SQL queries manually into MySQL?

The webconsole then seems to be many things? A GM tool, a character editing software for NPCs, a quest configuration tool. In fact a wrapper for all that is linked to the Database game wise? Its a tall order, and would need to be cut into pieces that could be worked on, by a head developer on PS.

I'm a Newb with capital 'N' @ PHP. But it looks like a Servlet-esque server side scripting language. I can figure out whats going on I guess.

I have started writing and re-writing this response * 10. I scanned through 'Aerig' docs. Though a login @ browse only or screenshots would help.

1. Taking ACraigs earlier point - Do you want the webconcole re-written in-whole or in-part with a client-side Java GUI?  *EDIT* I notice as I scan the PHP. That PHP uses specific commands to interact with MySQL, so it may offer limited 'lifting' of queries.

2. Or do you want a re-write of the PHP code in Serverside Java. I don't know about the limitations of PHP vrs Servlets.

I need to know if you a proposing a re-write of the PHP existing console or a new Client side tool?

I worked on a help-desk solution some years ago that attempted to replicate a large Java GUI for 'emergency' work by employees when at home. The content was all Scripted in --Java Servlets and JSP server side-- and piped back in HTML, with the usual splattering of Javascript on the client side. it got really complicated and the s/house eventually gave it up for lost. But I can see the advantages that non-tech. users can just login and forget about trying to compile are install any programs to adjust in-game settings. I have experience at this. Problems were always HTML layout making the HTML experience feel like a GUI. IMO HTML=HTML dont try.
I'll carry on looking over this material as free-time permits.

Best regards
PR

6
Development Deliberation / Re: Java web programmer any use?
« on: January 10, 2008, 11:11:41 pm »
I had a scan

http://planeshift.svn.sourceforge.net/viewvc/*checkout*/planeshift/stable/data/races/quickpaths.xml?revision=23&content-type=text%2Fplain

SVN is some kind of repository? I only ever used Sourcesafe. In reality I've never used SVN?

Do I read you want me to try to compile the a server locally to get access to the tables locally? I'm confused how you are writing the SQL queries? By hand?

Best regs
PR

7
Development Deliberation / Re: Java web programmer any use?
« on: January 10, 2008, 10:17:07 pm »
Do you have a schema I can see?  Are you aware of 'Navicat' its a great interface into MySQL? I use this in my business work. I does all kind of useful things. Upload spreadsheets and do all kinds of things that PHP MyAdmin sometimes had problems with.

1. You want this interface to be used on local PCs only by approved folks with security clearance for remote MySQL access onto the server to edit characters on the server?
2. Or to access characters on a local client machine stored on locally on a PC with MySQL running locally?

3. How is character data currently stored schema wise?
4. Will this be a text only interface for editing and type checking character attributes?

Best regards
PR

8
Development Deliberation / Re: Java web programmer any use?
« on: January 10, 2008, 07:53:47 pm »
Yes sure, I can connect to any database that you have a JDBC driver for. I have much experience doing this. Its easy to do, MySQL comes with a JDBC driver.

*edit*

Though as for Java applets, let me know what you have in mind. I have some Swing (GUI) experience which is okay for running desktop tool stuff (its stable). I have a lot of experience running up browser interfaces using DHTML run up by Servlets. Its easy to install on your server as well. But if you want to run a Swing GUI inside a browser, this used to be a bit buggy about 5 years ago last time I tried anything complicated with it. About the time of Java 4.0 I think it was. I don't have any experience of the new native Widget GUI stuff, but I'm not sure if thats properly portable yet.

Best regards Paul

9
Development Deliberation / Re: Java web programmer any use?
« on: January 10, 2008, 04:04:51 pm »
Thought I better add, I terms of interacting with C code. In the past I've done this by connecting to ports etc, I'm good network wise, and file wise for getting data into Java tools. But I'm not too good with JNI native interfaces into C. You'll have to take care of this bit, should you need it.


10
Development Deliberation / Re: Java web programmer any use?
« on: January 10, 2008, 04:01:42 pm »
Fine, tools are no problem. Let me know the requirements spec. And I can get right onto it.

Best regards Paul

11
Development Deliberation / Java web programmer any use?
« on: January 09, 2008, 11:32:51 pm »
Hi,

I have some skills at Java programming & web development. If this is any use?
I did think about offering to help with the coding, but my C++ is really poor, and I don't know much about OpenGL.

thanks
Paul

Pages: [1]