Giter VIP home page Giter VIP logo

Comments (2)

zhuzhichao avatar zhuzhichao commented on September 23, 2024

哈哈,文博这么快就看到了啊,主要是以下更新:

  1. 精简和优化代码
  2. 调用方式减少侵入性,更符合 laravel 的查询哲学
  3. 这个项目不再原生支持 lighthouse ,后面可以考虑做个插件来优化 lighthouse 的使用
  4. 使用时不需要再新建一些文件放置 wheres 等内容,可以直接使用 wheres 内容
  5. 不再有 getlist/getcount 等 方法,永远返回的是 query 对象, 这样能方便使用者的场景,是分页或者列表或者count或者sum等操作。而不需要使用写好的内置静态方法。大大提高了扩展性和使用场景。
  6. 不再内置一些非必要的 api 传入参数,例如 page_size pagesize size 等,让使用者自由发挥使用,减少包对使用者的干预
  7. 调整到自己的仓库,方便更新维护
  8. 之前的 advanced search 基本也都稳定了,也满足大部分使用场景了,但是主要还是 15 年时候的设计思路,也一直在做加法,显得臃肿了。这次算是做个轻量版的。😁

大概就是上面的了,我近期写个使用文档,现在还在内部使用和优化阶段。

from laravel-advanced-search.

hwbrzzl avatar hwbrzzl commented on September 23, 2024

哈哈,文博这么快就看到了啊,主要是以下更新:

  1. 精简和优化代码
  2. 调用方式减少侵入性,更符合 laravel 的查询哲学
  3. 这个项目不再原生支持 lighthouse ,后面可以考虑做个插件来优化 lighthouse 的使用
  4. 使用时不需要再新建一些文件放置 wheres 等内容,可以直接使用 wheres 内容
  5. 不再有 getlist/getcount 等 方法,永远返回的是 query 对象, 这样能方便使用者的场景,是分页或者列表或者count或者sum等操作。而不需要使用写好的内置静态方法。大大提高了扩展性和使用场景。
  6. 不再内置一些非必要的 api 传入参数,例如 page_size pagesize size 等,让使用者自由发挥使用,减少包对使用者的干预
  7. 调整到自己的仓库,方便更新维护
  8. 之前的 advanced search 基本也都稳定了,也满足大部分使用场景了,但是主要还是 15 年时候的设计思路,也一直在做加法,显得臃肿了。这次算是做个轻量版的。😁

大概就是上面的了,我近期写个使用文档,现在还在内部使用和优化阶段。

from laravel-advanced-search.

Related Issues (1)

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.