Toshkent axborot texnologiyalari


Foydalanilgan adabiyotlar


Download 0.76 Mb.
bet17/17
Sana02.01.2022
Hajmi0.76 Mb.
#195257
1   ...   9   10   11   12   13   14   15   16   17
Bog'liq
Kurs ishi

Foydalanilgan adabiyotlar

  1. Best of the Web 1994 -- Naviga-

  2. tors http://botw.org/1994/awards/navigators.html

  3. Bill Clinton Joke of the Day: April 14,

  4. 1997. http://www.io.com/~cjburke/clinton/970414.html.

  5. Bzip2 Homepage http://www.muraroa.demon.co.uk/

  6. Google Search Engine http://google.stanford.edu/

  7. Harvest http://harvest.transarc.com/

  8. Mauldin, Michael L. Lycos Design Choices in an Internet Search Service,

  9. IEEE Expert Inter-

  10. view http://www.computer.org/pubs/expert/1997/trends/x1008/mauldin.htm

  11. The Effect of Cellular Phone Use Upon Driver Atten-

  12. tion http://www.webfirst.com/aaa/text/cell/cell0toc.htm

  13. Search Engine Watch http://www.searchenginewatch.com/

  14. RFC 1950 (zlib) ftp://ftp.uu.net/graphics/png/documents/zlib/zdoc-

  15. index.html

  16. Robots Exclusion Proto-

  17. col: http://info.webcrawler.com/mak/projects/robots/exclusion.htm

  18. Web Growth Summary: http://www.mit.edu/people/mkgray/net/web-

  19. growth-summary.html

  20. Yahoo! http://www.yahoo.com/

  21. Github https://github.com/UchqunShodmonov/NewsApp

  22. [Abiteboul 97] Serge Abiteboul and Victor Vianu, Queries and Computation

  23. on the Web. Proceedings of the International Conference on Database

  24. Theory. Delphi, Greece 1997.

  25. [Bagdikian 97] Ben H. Bagdikian. The Media Monopoly. 5th Edition. Pub-

  26. lisher: Beacon, ISBN: 0807061557

  27. [Chakrabarti 98] S.Chakrabarti, B.Dom, D.Gibson, J.Kleinberg, P. Ragha-

  28. van and S. Rajagopalan. Automatic Resource Compilation by Analyzing

  29. Hyperlink Structure and Associated Text. Seventh International Web Confe-

  30. rence (WWW 98). Brisbane, Australia, April 14-18, 1998.

  31. [Cho 98] Junghoo Cho, Hector Garcia-Molina, Lawrence Page. Efficient

  32. Crawling Through URL Ordering. Seventh International Web Conference

  33. (WWW 98). Brisbane, Australia, April 14-18, 1998.

  34. [Gravano 94] Luis Gravano, Hector Garcia-Molina, and A. Tomasic. The Ef-

  35. fectiveness of GlOSS for the Text-Database Discovery Problem. Proc. of the

  36. 1994 ACM SIGMOD International Conference On Management Of Data,

  37. 1994.

  38. [Kleinberg 98] Jon Kleinberg, Authoritative Sources in a Hyperlinked Envi-

  39. ronment, Proc. ACM-SIAM Symposium on Discrete Algorithms, 1998.

  40. [Marchiori 97] Massimo Marchiori. The Quest for Correct Information on

  41. the Web: Hyper Search Engines. The Sixth International WWW Conference

  42. (WWW 97). Santa Clara, USA, April 7-11, 1997.

  43. [McBryan 94] Oliver A. McBryan. GENVL and WWWW: Tools for Taming

  44. the Web. First International Conference on the World Wide Web. CERN,

  45. Geneva (Switzerland), May 25-26-27

  46. 1994. http://www.cs.colorado.edu/home/mcbryan/mypapers/www94.ps

  47. [Page 98] Lawrence Page, Sergey Brin, Rajeev Motwani, Terry Wino-

  48. grad. The PageRank Citation Ranking: Bringing Order to the

  49. Web. Manuscript in

  50. progress. http://google.stanford.edu/~backrub/pageranksub.ps

  51. [Pinkerton 94] Brian Pinkerton, Finding What People Want: Experiences

  52. with the WebCrawler. The Second International WWW Conference Chica-

  53. go, USA, October 17-20,

  54. 1994. http://info.webcrawler.com/bp/WWW94.html

  55. [Spertus 97] Ellen Spertus. ParaSite: Mining Structural Information on the

  56. Web. The Sixth International WWW Conference (WWW 97). Santa Clara,

  57. USA, April 7-11, 1997.

  58. [TREC 96] Proceedings of the fifth Text REtrieval Conference (TREC-

  59. 5). Gaithersburg, Maryland, November 20-22, 1996. Publisher: Department

  60. of Commerce, National Institute of Standards and Technology. Editors: D.

  61. K. Harman and E. M. Voorhees. Full text at: http://trec.nist.gov/

  62. [Witten 94] Ian H Witten, Alistair Moffat, and Timothy C. Bell. Managing

  63. Gigabytes: Compressing and Indexing Documents and Images. New York:

  64. Van Nostrand Reinhold, 1994.

  65. [Weiss 96] Ron Weiss, Bienvenido Velez, Mark A. Sheldon, Chanathip

  66. Manprempre, Peter Szilagyi, Andrzej Duda, and David K. Gif-

  67. ford. HyPursuit: A Hierarchical Network Search Engine that Exploits Con-

  68. tent-Link Hypertext Clustering. Proceedings of the 7th ACM Conference on

  69. Hypertext. New York, 1996.


Ilova

.env


APP_NAME=Lumen

APP_ENV=local

APP_KEY=

APP_DEBUG=true

APP_URL=http://localhost

APP_TIMEZONE=UTC


LOG_CHANNEL=stack

LOG_SLACK_WEBHOOK_URL=


DB_CONNECTION=mysql

DB_HOST=127.0.0.1

DB_PORT=3306

DB_DATABASE=authors

DB_USERNAME=asliddin

DB_PASSWORD=asliddin


CACHE_DRIVER=file

QUEUE_CONNECTION=sync


Migratsiya fayli

use Illuminate\Database\Migrations\Migration;

use Illuminate\Database\Schema\Blueprint;

use Illuminate\Support\Facades\Schema;
class CreateAuthorsTable extends Migration

{

/**



* Run the migrations.

*

* @return void



*/

public function up()

{

Schema::create('authors', function (Blueprint $table) {



$table->increments('id');

$table->string('name');

$table->string('email');

$table->string('github');

$table->string('twitter');

$table->string('location');

$table->string('latest_article_published');

$table->timestamps();

});

}
/**



* Reverse the migrations.

*

* @return void



*/

public function down()

{

Schema::dropIfExists('authors');



}

}

Model



namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Author extends Model

{

/**



* The attributes that are mass assignable.

*

* @var array



*/

protected $fillable = [

'name', 'email', 'github', 'twitter', 'location', 'latest_article_published'

];
/**

* The attributes excluded from the model's JSON form.

*

* @var array



*/

protected $hidden = [];

}
AuthorController

namespace App\Http\Controllers;
use App\Models\Author;

use Illuminate\Http\Request;


class AuthorController extends Controller

{
public function showAllAuthors()

{

return response()->json(Author::all());



}
public function showOneAuthor($id)

{

return response()->json(Author::find($id));



}
public function create(Request $request)

{

$author = Author::create($request->all());


return response()->json($author, 201);

}
public function update($id, Request $request)

{

$author = Author::findOrFail($id);



$author->update($request->all());
return response()->json($author, 200);

}
public function delete($id)

{

Author::findOrFail($id)->delete();



return response('Deleted Successfully', 200);

}

}


web.php

/** @var \Laravel\Lumen\Routing\Router $router */
/*

|--------------------------------------------------------------------------

| Application Routes

|--------------------------------------------------------------------------

|

| Here is where you can register all of the routes for an application.



| It is a breeze. Simply tell Lumen the URIs it should respond to

| and give it the Closure to call when that URI is requested.

|

*/
$router->get('/', function () use ($router) {



return $router->app->version();

});
$router->group(['prefix' => 'api'], function () use ($router) {

$router->get('authors', ['uses' => 'AuthorController@showAllAuthors']);

$router->get('authors/{id}', ['uses' => 'AuthorController@showOneAuthor']);

$router->post('authors', ['uses' => 'AuthorController@create']);

$router->delete('authors/{id}', ['uses' => 'AuthorController@delete']);



$router->put('authors/{id}', ['uses' => 'AuthorController@update']);

});
Download 0.76 Mb.

Do'stlaringiz bilan baham:
1   ...   9   10   11   12   13   14   15   16   17




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling