Hello !

I have been working on the Materials Database since I have proposed. I
have thoroughly explored the code and found a scope of improvement.
The code had been written with a view of using the brlcad.org website
but this at present poses some problems. It redirects the user to
brlcad.org which(at present) does not show the desired results.

So I have made the required changes by including the config.php file
which contains a variable $siteUrl. It is included in the files which
require to change the path. I have given the relative paths(no hard
code) which makes the code portable and workable everywhere. I have
deployed it for testing on my college server.

Although I have kept the BRL-CAD coding guidelines in mind yet I saw
some code(prior years work) which is not according to the standards
sought. I would also change the whole code accordingly if it is
required for the patch submission.

Please review the working code with changes:
http://202.164.53.122/~albertcoder/brlcad/material/

-- 
Thanks
Albert
www.coderalbert.wordpress.com
"If you really look closely, most overnight successes took a long
time." -- Steve Jobs

------------------------------------------------------------------------------
_______________________________________________
BRL-CAD Developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to