Giter VIP home page Giter VIP logo

Comments (6)

bbatsov avatar bbatsov commented on May 23, 2024 1

But I'm also feeling it's too much to provide API because the API is not so dynamic.

Great point!

https://clojuredocs-edn.netlify.com/clojure.core/map.edn

I like this idea, as for most clients it'd be quite convenient to work with that. I don't think we need to a smaller granularity than this (e.g. breakdown for see alsos, notes, etc), as the EDN file for each symbol shouldn't be very big and clients can fetch it process it locally additionally.

from clojuredocs-export-edn.

liquidz avatar liquidz commented on May 23, 2024

I also think it's great.
But I'm also feeling it's too much to provide API because the API is not so dynamic. 🤔

For example, how about splitting the EDN file beforehand as follows?

👍 Pros.

  • We don't need to maintain the server providing the API (Netilify do the work for us)
  • Easy to do

👎 Cons.

  • We need to have a more detailed (and partially duplicated) file to serve detailed requests
  • We can't provide functionalities like keyword searches, of course.

from clojuredocs-export-edn.

liquidz avatar liquidz commented on May 23, 2024

OK, I'll fix codes to generate them 😄

from clojuredocs-export-edn.

liquidz avatar liquidz commented on May 23, 2024

I have one point to discuss.
There are some vars which has same name like follows.

Some filesystems are case insensible, so it couldn't write EDN files separately.
So I'm considering to add a prefix such _ for vars which starts with upper case.

@bbatsov Do you have any ideas?

from clojuredocs-export-edn.

bbatsov avatar bbatsov commented on May 23, 2024

I'll have to think about this. Another approach would be to have a different convention for data types, as those are the things with capitalized names. How many such cases are there in total? I assume not many, right?

from clojuredocs-export-edn.

liquidz avatar liquidz commented on May 23, 2024

Yeah, there are only 5 cases as follows.

from clojuredocs-export-edn.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.