تقنيةمعلوميات

أجي تعرف و تفهم شنوا هو API

الAPI هو واحد الوسيط كيكون بين المستخدم والخادم، يعني بين الclient والserver، كيشد الrequests يعني طلبات وكيوريهم لسيستيم ولا server، وكيرد عليك بالResponses يعني الجواب ولا واحد الخدمة معينة، على سبيل المثال الapi هو واحد سرباي فواحد القهوة كطلب منو مثلا عصير الاناناس كيوصل طلب ديالك لهاداك لي كيقدم الخدمة يعني لي كيصاوبها، فحالة كانت راه كيجيبها ليك وهنا فين غاتعرف شنو كتعني response 200 يعني ديك صفحة كاينة ولعكس كيطلع ليك error 404.

شنو الاستخدامات ديالو؟

الAPI كيفيد بزاف خصوصا الdevelopers، على سبيل المثال، بغيتي تعرف بشحال كيدير واحد البرودي فواحد شركة، كاتمشي تقصد شركة وكدخل لبلاصة لي فيها سجلات ديال الاثمنة وكتعكيهم البرودي وكيردو عليك بالثمن ديالو..

لاجينا نعكسو هاد الامر على الAPI، الاكانو هاد البروديات بالاثمنة ديالهم ديجا دايرين ليهم upload فالdatabase يمكن ليك تصاوب برنامج بسيط باش يدير لك الاكسيس لديك database وتقد ديك ساعة توصل لكاع لبروديات بالاثمنة ديالهم وسميات، هنا فين كنشوفو سهولة وسرعة باش نوصلو لواحد المعلومات معينة مكيبانوش ديركت.

شنو الاجراءات لي يمكن ديرهم بالAPI؟

ببساطة كاين ربعة الإجراءات

أولا get: هي لي كدير ليك طلب الdata من السيرفر، هاد الdata تقد تكون الحالة ديال سيت مثلا ولا لحالة ديال ديك صفحة واش كاينة ولا لا ويقدو يكونو الخصائص يعني تقد توصل للاسم ديال شي مستخدم..الخ كاين فسيرفر

ثانيا post: كدير العكس ديال get بلاصة متستالم البيانات من سيرفر هنا نتا لي كتزيدهم فالdatabase يعني مثلا نتا لي كدير بليزير فمول لقهوة و كتجيب ليه الاناناس هههه.

ثالثا put: كيدير مراجعة لdata او المعلومات لي ديجا كاينين وكيزيد عليهم، يعني بحال ميطود ديال push فstack كتزيد دخل واحد لعنصر فالسيرفر

رابعا delete: من سمية باينة يعني كتمسح المعلومات لي ديجا كاينين.

كانت هادي نظرة عامة على هاد التقنية، ولي كيسول بحالاش يتعامل معاهم او يخدم بيهم، حاول تلقا شي http client يعني يقد يسيفط requests و يستقبل responses.

مقالات ذات صلة

‫107 تعليقات

  1. You are so interesting! I do not suppose I have read something like this before.

    So wonderful to find another person with original thoughts on this issue.
    Really.. thank you for starting this up. This website is one thing that is
    required on the web, someone with a bit of originality!

  2. Between me and my husband we’ve owned more MP3 players over the years than I can count, including Sansas, iRivers, iPods (classic & touch), the Ibiza Rhapsody, etc. But, the last few years I’ve settled down to one line of players. Why? Because I was happy to discover how well-designed and fun to use the underappreciated (and widely mocked) Zunes are.

  3. Hi just wanted to give you a quick heads up and let you know a few of the pictures aren’t loading properly. I’m not sure why but I think its a linking issue. I’ve tried it in two different internet browsers and both show the same outcome.

  4. You really make it appear so easy along with your presentation but I to find this matter to be really something that I feel I’d by no means understand. It sort of feels too complicated and extremely extensive for me. I am having a look ahead to your subsequent put up, I’ll attempt to get the dangle of it!

  5. When I originally commented I clicked the «Notify me when new comments are added» checkbox and now each time a comment is added I get several emails with the same comment. Is there any way you can remove me from that service? Thank you!

  6. What i don’t understood is actually how you are not really a lot more well-favored than you might be now. You are so intelligent. You already know thus considerably relating to this matter, produced me for my part consider it from a lot of numerous angles. Its like women and men aren’t interested until it¡¦s something to do with Lady gaga! Your personal stuffs great. All the time maintain it up!

  7. Amazing blog! Is your theme custom made or did you download it from somewhere? A design like yours with a few simple adjustements would really make my blog shine. Please let me know where you got your design. Appreciate it

  8. Thanks for one’s marvelous posting! I truly enjoyed reading it, you might be a great author.I will make sure to bookmark your blog and will eventually come back in the future. I want to encourage you continue your great writing, have a nice morning!

  9. I’m reallyimpressed with your blogging gift pluswith the plan for your weblog. Is that this a paid for matter or did you modify it yourself? Anyway keep up the excellent quality article writing, it’s uncommon to peer a great webloglike this one these days.

  10. We’re a group of volunteers and starting a new scheme in our community. Your site provided us with valuable information to work on. You have done an impressive job and our whole community will be grateful to you.

  11. Wow that was odd. I just wrote an extremely long comment but after I clicked submit my comment didn’t appear. Grrrr… well I’m not writing all that over again. Anyhow, just wanted to say excellent blog!

  12. Cool blog! Is your theme custom made or did you download it from somewhere? A design like yours with a few simple adjustements would really make my blog shine. Please let me know where you got your theme. Cheers

  13. Today, I went to the beach front with my kids. I found a sea shell and gave it to my 4 year old daughter and said «You can hear the ocean if you put this to your ear.» She put the shell to her ear and screamed. There was a hermit crab inside and it pinched her ear. She never wants to go back! LoL I know this is entirely off topic but I had to tell someone!

  14. After looking over a number of the blog posts on your web site, I really appreciate your way of blogging. I book-marked it to my bookmark website list and will be checking back soon. Please check out my web site too and let me know what you think.

  15. whoah this weblog is fantastic i like reading your
    articles. Keep up the great work! You understand, lots of people
    are searching around for this info, you can help them greatly.

  16. Hi there, i read your blog from time to time and i own a similar one and i was just curious if you get a lot of spam comments? If so how do you reduce it, any plugin or anything you can advise? I get so much lately it’s driving me insane so any support is very much appreciated.

  17. Thanks for every other wonderful article. Where else may anybody get that kind of info in such a perfect approach of writing? I have a presentation next week, and I am at the search for such information.

  18. تنبيه: best keto pills
  19. There are some interesting time limits in this article however I don’t know if I see all of them middle to heart. There may be some validity however I will take hold opinion till I look into it further. Good article , thanks and we want extra! Added to FeedBurner as effectively

  20. hello!,I like your writing very a lot! percentage
    we communicate extra approximately your post on AOL?
    I require a specialist in this house to solve my problem. May be that is you!
    Having a look ahead to peer you.

  21. Hey there would you mind sharing which blog platform you’re working with?
    I’m going to start my own blog soon but I’m having a tough time making a decision between BlogEngine/Wordpress/B2evolution and Drupal.
    The reason I ask is because your design and style seems different then most blogs and I’m looking for something unique.
    P.S Sorry for getting off-topic but I had to ask!

  22. Unquestionably believe that which you stated.
    Your favorite reason seemed to be on the net the easiest thing to
    be aware of. I say to you, I certainly get irked while people think about
    worries that they plainly don’t know about. You managed to hit the nail
    upon the top as well as defined out the whole thing without having side-effects , people can take a signal.

    Will probably be back to get more. Thanks

  23. تنبيه: fab gay dating
  24. تنبيه: dating a gay jew
  25. I know this if off topic but I’m looking into starting my own blog and was wondering what all is required to
    get set up? I’m assuming having a blog like yours would cost a pretty penny?
    I’m not very internet smart so I’m not 100% positive.
    Any suggestions or advice would be greatly appreciated.
    Many thanks quest bars http://bitly.com/3C2tkMR quest bars

  26. تنبيه: irish gay dating

اترك تعليقاً

لن يتم نشر عنوان بريدك الإلكتروني. الحقول الإلزامية مشار إليها بـ *

زر الذهاب إلى الأعلى