Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Im implementing shop system and library too for players #25

Open
novasdream opened this issue Feb 3, 2015 · 6 comments
Open

Im implementing shop system and library too for players #25

novasdream opened this issue Feb 3, 2015 · 6 comments

Comments

@novasdream
Copy link

Check my fork branch development.

Post your sugestions to my code style or something like..

( I need a feedback about licence and informations in header files )
https://github.com/novasdream/DevAAC

@DSpeichert
Copy link
Member

You should raise a Pull Request to initiate discussion about your changes.

@totolol123
Copy link

Looks good 👍

@novasdream
Copy link
Author

i that system is not ready to PullRequest..
It dont ready yet..

@DSpeichert
Copy link
Member

Here are some brief comments then:

  • we don't want to alter database schema
  • "shops" is not the proper terminology for shop offers
  • adding "noty" (external library) is not appropriate unless absolutely necessary, angular libraries are preferred
  • you have made modifications (like changing <title> of the page) that will prevent your PR from getting merged

@novasdream
Copy link
Author

we don't want to alter database schema

Have any suggestions on how to get monsters data without accessing the XMLs all the time?
(Cache will load a lot of data from disk can cause slowdowns)
I think preloaded xmls think it's much occupied memory.
Only way i found is put it in database.

"shops" is not the proper terminology for shop offers

You right.i will fix that.

adding "noty" (external library) is not appropriate unless absolutely necessary, angular libraries are preferred

hmm.. ok make sense... it is about enhancer in frontend only...

I have some questions about StatusMessage usage... how to make it work in any page without change all html files from modules. and how i can send a StatusMessage.. ( dont have much samples )

you have made modifications (like changing of the page) that will prevent your PR from getting merged

You right about that.. i will fix too.

@DSpeichert
Copy link
Member

You can probably put that in APC (it's a soft dependency) or other cache. We should probably use laravel cache class. I might come up with something in future. In general, the database is definitely the worst place and parsing XML each time is also not a good idea as you said.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants