Tuesday, October 23, 2018

khan academi



সকলের জন্য, সব জায়গায় বিনামূল্যে বিশ্বমানের শিক্ষা পৌঁছে দেওয়াই আমাদের লক্ষ্য।
খান একাডেমি একটি 501(c)(3) অলাভজনক প্রতিষ্ঠান। খান একাডেমি অনুদান অথবা স্বেচ্ছাসেবা প্রদান করুন আজই!link

10 less-known (but awesome!) Laravel Collections methods

10 less-known (but awesome!) Laravel Collections methods

Laravel Eloquent is awesome – probably I don’t need to tell you that. What is less known is the list of methods to work with Eloquent Collections. You can filter them, slice them, easily modify etc. But let’s look at it one by one.
A little notice here – that Collections are a broader term, whereas Eloquent Collections are the implementation of these broader Collections. So everything that we cover here in this article can be used for both instances.

Json placehoder demo site

<?php
$url="https://jsonplaceholder.typicode.com/photos";

$ch = curl_init();

curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);

curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

curl_setopt($ch, CURLOPT_URL,$url);
$result=curl_exec($ch);
curl_close($ch);

echo "<pre>";
//var_dump(json_decode($result));
echo "</pre>";

$abc=json_decode($result);
foreach ($abc as $key => $value) {
echo $value->id;
}

This site will give you a banch of api data for test api jsonlink

cURL Requests with PHP

Introduction

cURL allows transfer of data across a wide variety of protocols, and is a very powerful system. It's widely used as a way to send data across websites, including things like API interaction and oAuth. cURL is unrestricted in what it can do, from the basic HTTP request, to the more complex FTP upload or interaction with an authentication enclosed HTTPS site. We'll be looking at the simple difference between sending a GET and POST request and dealing with the returned response, as well as highlighting some useful parameters.link

Laravel 5 import export to excel and csv using maatwebsite exampl

In this post i will show you how to import excel or csv to store in database and how to export or download excel or csv file from database table by maatwebsite. maatwebsite packages throught you can easily get data, also you can group by data, also create more then one sheet etc. so now i show you simple example of items table data, you can donwload in xls, xlsx and csv formate and also you import data in xls, xlsx and csv formate file. In following few step you can implement import and export both function in your project. First see your browser preview will become like this:link

learning sites

One of the best site for learninghttps://scotch.io/tag/css

laravel blog

Hey, I'm Matt Stauffer, partner & technical director at Tighten.https://mattstauffer.com/

laravel projects open source

Laravel tricks

Laravel Best Practices.

Welcome

Disclaimer: Majority of the assets, design and format of this site is borrowed (forked might be the more better term) from the original PHP : The Right Way site. The original contributors is given all the credits due to them.
This site serves as a guide for those who is using Laravel Framework by Taylor Otwell and its contributors. Laravel : Best Practices aims to put together all the resources and best practices in using the Laravel Framework.
Laravel Framework is not strict on how and where you define your classes as long as it could be loaded by Composer. This is a double-sided blade – it’s beneficial for advanced developers, but coud be confusing for beginners and for those who is trying to reverse engineer an existing codebase. The ability to place anything, anywhere is good. But there are times some methods is way better than the others, and that is what we are after. This site tried to collect all the best practices, tools and methodologies, so that it could serve a guide for beginners and existing developers alike.
This is a living document and will continue to be updated with more helpful information and examples as they become available.http://www.laravelbestpractices.com/

Laravel 5.2 - User ACL Roles and Permissions with Middleware using entrust from Scratch Tutorial

Laravel 5 provides authentication to us but that it simple to get user register, login, logout, and reset password and run quickly and easily. Laravel 5 give you simple authentication and it's fast and it's consider to all developer requirement.
But if you are work on big ERP or Project then you need to control access to certain sections of the website. I mean you require to role permissions based access control database design that way you can specify level of user.
Roles and Permissions through you can create several types of users with different role and permission, i mean some user have only see listing of items module, some user can also edit items modules, for delete and etc.
So if you also want to build ACL(Access Control List) based on Roles and Permissions with Middleware then you can do it simple by following few step. In this tutorial i give you very simple step to create ACL from scratch using entrust package, it is provides lots of method to check permission and roles, so no worry if you don't know more laravel.
In this examples i created three modules as listed bellow:Link

Laravel for RESTful: Build Your RESTful API with Laravel

What you'll learn
  • Create your own projects with Laravel (not only RESTful APIs)
  • Make the most of your work tools (Sublime Text 3, Git, Github, Composer, PHP artisan and Laravel)

  • Generate and maintain the structure of the database in an automated way with Laravel and the PHP Artisan console

  • Use PHP Artisan effectively and be much more efficient
  • Create and configure your own local development environment
  • Properly configure your development environment for all your projects
  • Hone the main HTTP methods/verbs for HTTP and RESTful APIs
  • Use free professional tools to improve your productivitylink

Javatpoint - A Best Portal to Learn Technologies

JavaTpoint offers Online Training and Winter Training on Java, Blockchain, Machine Learning, Meanstack, Artifical Intelligence, Kotlin, Cloud Computing, Angular, React, IOT, DevOps, RPA, Virtual Realty, Embedded Systems, Robotics, PHP, .Net, Big Data and Hadoop, Spark, Data Analytics, R Programming, SAP, Android, Python, Oracle, Web Designing, Spring, Hibernate, Software Testing, Seleninum, Linux, C++ and many more technologies. For more visit javatpoint trainingtraining.javatpoint.com
Approach us for Placement Oriented Training on Java, PHP, Android and Selenium.https://www.javatpoint.com/

Laravel Speed and Performance Optimization 101 – The Guideline

I am working with a pretty heavy Laravel site with many requests and lots of Eloquent/SQL calls. Even though the high-memory and high-cpu VPS, I felt there is room for performance improvement. That is why I would like to write out some improvements to speed up Laravel:https://www.devproblems.com/laravel-speed-and-performance-optimization-101-the-guideline/?fbclid=IwAR2COC6UpH2U9yJ06SsvyrKCD212XxSDs2QoOHanNNhHwmx1eeHXYUgBQh4

OPTIMIZING LARAVEL PERFORMANCE

Laravel is currently the most popular PHPframework for building a variety of sites and applications. Here at Fresh, we’ve built both complex Laravel API platforms and simple portals. The set of libraries and architecture that Laravel provides makes it easy to build amazing sites using well structured and “beautiful code” (their words exactly). click here to get link