Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

Debugger plugin : remote debugging : request + remarks

<< < (2/3) > >>

oBFusCATed:

--- Quote from: ouch on June 20, 2012, 11:18:23 pm ---Maybe we need to make the cbp files an archive based format similar to the open document movement.

--- End quote ---
I'm thinking of a directory, probably hidden


--- Quote from: ouch on June 20, 2012, 11:18:23 pm ---Or maybe we should switch to a simple database like sqlite3. Personally I would prefer a database based approach as that would make loading a hell of a lot faster for large projects. You could even have export/import functions so people could still work with plain text files if they wanted too.

--- End quote ---
SQL is for the business people, we don't need to infest C::B with it, we have one business evil in the for of XML, we don't need another.
Also sqlite is not a fast database. My feed reader is using it and it is pretty damn slow to load, because of the sqlite.

ouch:
The problem with hidden directories is that you will have cross platform issues. For instance my svn repositories has all those .svn sub-directories visible in windows, but hidden in linux.

You use SQL anytime you need to organize data in an fast and easy to access fashion while maintaining data integrity. Something which XML sorely lacks on all fronts. Also SQLite is one of, if not the fastest sql engines around. (I personally know it's faster than Postgresql or MySQL anyway, I've tested it against SQLite at work) So I'm not sure what your feed reader is doing with it.

oBFusCATed:

--- Quote from: ouch on June 21, 2012, 10:40:08 pm ---You use SQL anytime you need to organize data in an fast and easy to access fashion while maintaining data integrity. Something which XML sorely lacks on all fronts. Also SQLite is one of, if not the fastest sql engines around. (I personally know it's faster than Postgresql or MySQL anyway, I've tested it against SQLite at work) So I'm not sure what your feed reader is doing with it.

--- End quote ---
You're joking aren't you?  :o

There is no point in arguing I won't use sql for this! And I hope no other dev will.

stahta01:

--- Quote from: oBFusCATed on June 21, 2012, 10:45:02 pm ---
--- Quote from: ouch on June 21, 2012, 10:40:08 pm ---You use SQL anytime you need to organize data in an fast and easy to access fashion while maintaining data integrity. Something which XML sorely lacks on all fronts. Also SQLite is one of, if not the fastest sql engines around. (I personally know it's faster than Postgresql or MySQL anyway, I've tested it against SQLite at work) So I'm not sure what your feed reader is doing with it.

--- End quote ---
You're joking aren't you?  :o

There is no point in arguing I won't use sql for this! And I hope no other dev will.

--- End quote ---

SQL is over kill for the information an IDE needs.

IMNSHO, A SQL Database design needs at least one table with 1000 plus rows and a hand full of tables with more than 100 rows.
Using third normal form (3NF), I do not see the requirements for an IDE reaching that level.
If the requirements are below the above, it is NOT likely a good candidate for an SQL Database.
Even if it meets these requirements; it might not be a good candidate for an SQL Database.

Tim S.

PS: Good luck using an SQL Lite database in version control system.
The first corrupt database will kill the use of an IDE using an SQL database.


Alpha:

--- Quote from: ouch on June 21, 2012, 10:40:08 pm ---The problem with hidden directories is that you will have cross platform issues. For instance my svn repositories has all those .svn sub-directories visible in windows, but hidden in linux.

--- End quote ---
#ifdef __WXMSW__
FILE_ATTRIBUTE_HIDDEN
... Possibly?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version