{"id":15018552,"url":"https://github.com/sheeju/jplist","last_synced_at":"2026-02-16T00:32:15.568Z","repository":{"id":56831929,"uuid":"102564846","full_name":"sheeju/JPList","owner":"sheeju","description":"JPList module is a data source bundle that works with Perl and database handle where as jPlist (http://jplist.com) behaves as UI module only. ","archived":false,"fork":false,"pushed_at":"2017-09-20T07:36:18.000Z","size":48,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-13T00:42:18.366Z","etag":null,"topics":["catalyst","cgi","dancer","mvc-framework","perl"],"latest_commit_sha":null,"homepage":"","language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sheeju.png","metadata":{"files":{"readme":"README.pod","changelog":"Changes","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-06T05:04:45.000Z","updated_at":"2017-09-12T08:31:22.000Z","dependencies_parsed_at":"2022-09-07T17:10:45.240Z","dependency_job_id":null,"html_url":"https://github.com/sheeju/JPList","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sheeju/JPList","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sheeju%2FJPList","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sheeju%2FJPList/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sheeju%2FJPList/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sheeju%2FJPList/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sheeju","download_url":"https://codeload.github.com/sheeju/JPList/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sheeju%2FJPList/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278987720,"owners_count":26080906,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["catalyst","cgi","dancer","mvc-framework","perl"],"created_at":"2024-09-24T19:52:06.378Z","updated_at":"2025-10-08T17:54:24.498Z","avatar_url":"https://github.com/sheeju.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"=head1 NAME\n\nJPList\n\nJPList module is a data source bundle that works with Perl and database handle where as jPlist (http://jplist.com) behaves as UI module only. \n\n=head1 INSTALLATION\n\nTo install this module, run the following commands:\n\n    perl Makefile.PL\n    make\n    make test\n    make install\n\n\n=head1 SYNOPSIS\n\nUse JPList module to integrate with CGI or Perl MVC web application such as Catalyst/Dancer to decode jPList request params and integrate with your database using DBI handle.\n\n    use JPList;\n\n    my $jplist = JPList-\u003enew\n                ({\n                    dbh             =\u003e $dbh,\n                    db_table_name   =\u003e 'Items', \n                    request_params  =\u003e $c-\u003erequest-\u003ebody_params-\u003e{statuses}\n                });\n\n    my $jp_resultset = $jplist-\u003eget_resultset();\n\n    #Data\n    $jp_resultset-\u003e{data};\n\n    #Count\n    $jp_resultset-\u003e{count};\n\n=head1 DESCRIPTION\n\nJPList module decodes the request params encoded by jplist L\u003cajax core module|https://raw.githubusercontent.com/no81no/jplist/master/dist/js/jplist.core-ajax.min.js\u003e and then fetchs the data from appropriate table by applying required filter and sort options.\n\n=head1 ATTRIBUTES\n\n=over 4\n\n=item \"dbh\" \n\n    Database handle \n\n=item \"db_table_name\" \n\n    Table name from where data should be fetched.\n\n=item \"request_params\" \n\n    JPList UI module Request params passed here so that JPList modlue decodes and applys the fitler and sort accordingly\n\n=item \"fields\" \n\n    Custom fields or custom query\n\n=item \"where_fields\" \n\n    Fixed WHERE fields/clause to be used on all queries\n\n=back\n\n=head1 METHODS\n\n=over 4\n\n=item \"get_resultset\" \n\n$jplist-\u003eget_resultset() is used to return the resultset data and count based on the jplist request params.\n\n=back\n\n=head1 SEE ALSO\n\n=over 4\n\n=item * L\u003cMoose\u003e\n\n=item * L\u003cURI::Escape\u003e\n\n=item * L\u003cJSON\u003e\n\n=back\n\n=head1 REPOSITORY\n\nL\u003chttps://github.com/sheeju/JPList\u003e\n\n=head1 ACKNOWLEDGEMENTS\n\nDevelopment time supported by Exceleron L\u003cwww.exceleron.com|http://www.exceleron.com\u003e.\n\n=head1 AUTHOR\n\nSheeju Alex (L\u003csheeju|mailto:sheeju@exceleron.com\u003e)\n\n=head1 LICENSE AND COPYRIGHT\n\nCopyright (C) 2017 Sheeju Alex\n\nThis program is free software; you can redistribute it and/or modify it\nunder the terms of the the Artistic License (2.0). You may obtain a\ncopy of the full license at:\n\nL\u003chttp://www.perlfoundation.org/artistic_license_2_0\u003e\n\nAny use, modification, and distribution of the Standard or Modified\nVersions is governed by this Artistic License. By using, modifying or\ndistributing the Package, you accept this license. Do not use, modify,\nor distribute the Package, if you do not accept this license.\n\nIf your Modified Version has been derived from a Modified Version made\nby someone other than you, you are nevertheless required to ensure that\nyour Modified Version complies with the requirements of this license.\n\nThis license does not grant you the right to use any trademark, service\nmark, tradename, or logo of the Copyright Holder.\n\nThis license includes the non-exclusive, worldwide, free-of-charge\npatent license to make, have made, use, offer to sell, sell, import and\notherwise transfer the Package with respect to any patent claims\nlicensable by the Copyright Holder that are necessarily infringed by the\nPackage. If you institute patent litigation (including a cross-claim or\ncounterclaim) against any party alleging that the Package constitutes\ndirect or contributory patent infringement, then this Artistic License\nto you shall terminate on the date that such litigation is filed.\n\nDisclaimer of Warranty: THE PACKAGE IS PROVIDED BY THE COPYRIGHT HOLDER\nAND CONTRIBUTORS \"AS IS' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES.\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR\nPURPOSE, OR NON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT PERMITTED BY\nYOUR LOCAL LAW. UNLESS REQUIRED BY LAW, NO COPYRIGHT HOLDER OR\nCONTRIBUTOR WILL BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, OR\nCONSEQUENTIAL DAMAGES ARISING IN ANY WAY OUT OF THE USE OF THE PACKAGE,\nEVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\n=cut","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsheeju%2Fjplist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsheeju%2Fjplist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsheeju%2Fjplist/lists"}