Sunday, December 17, 2017

How to Connection with database and migrate for database

How to Connection with database and migrate for database

Introduction

Migrations are a type of version control for your database. They allow a team to modify the database schema and stay up to date on the current schema state. Migrations are typically paired with the Schema Builder to easily manage your application's schema.

Creating Migrations

To create a migration, you may use the migrate:make command on the Artisan CLI:

 Running Migrations

Wednesday, December 13, 2017

Installation Laravel Famework

Installation Laravel Famework


Required Before install

- Need to install wampsever or other web server for php 5.6 up, click this link to download source: wamp server
- after install web server we need to install composer
ckick this link to download
check composer installed use command: composer


Server Requirements
The Laravel framework has a few system requirements. Of course, all of these requirements are satisfied by the Laravel Homestead virtual machine, so it's highly recommended that you use Homestead as your local Laravel development environment.

However, if you are not using Homestead, you will need to make sure your server meets the following requirements:

  • PHP >= 7.0.0 
  • OpenSSL PHP Extension 
  • PDO PHP Extension 
  • Mbstring PHP Extension 
  • Tokenizer PHP Extension 
  • XML PHP Extension

Laravel utilizes Composer to manage its dependencies. So, before using Laravel, make sure you have Composer installed on your machine.
>>>use command : >composer create-project --prefer-dist laravel/laravel Your Project Name 


=>after installed laravel project you can open your project on your Browser  before open on browser you must running command on CMD type = php artisan serve



and then use this 127.0.0.1:8000/  for access to open on browser


Tuesday, September 5, 2017

PHP Development With Laravel  Comparing

PHP Development With Laravel Comparing

PHP was rather troublesome in the past. Poor syntax prompted those who develop quality web apps and websites to select other programming languages. Frameworks written in Ruby on Rails, Python and Django gained popularity because of their higher maturity. Now PHP is regaining momentum, and many web developers are embracing its new frameworks, such as Laravel.
What Modern PHP Frameworks Can Offer Some website and web app development tasks may require the use of a specific PHP framework. Web developers now have much more choice in selecting frameworks to fit their needs. Symfony laid the foundations for more solid PHP frameworks. It underlies the latest version of Drupal, phpBB, and Laravel, all of them open-source projects. Laravel uses the Symfony HTTP foundation to inject many new features into PHP. The framework requires PHP version 5.4 and above to run websites or web applications. Backward compatibility should not be a problem in this case: websites and apps have to adapt to new realities and customer perceptions. Modern frameworks should be flexible and adaptable to the new features emerging daily. That is why its flexibility made Laravel gain ground in the first place.
Other frameworks such as Nette, Yii1 and Yii2, CakePHP, and Slim also have their place in the market.Nonetheless, Laravel has taken the lead in popularity among PHP developers in recent years. This is despite some drawbacks that it has. Laravel launched in 2011, managing to attract the attention of a growing number of developers very soon. By 2017, it is by far the most popular PHP framework at work, according to the Sitepoint.com survey. PHP development company Iflexion looks in detail at some of the main advantages and disadvantages of Laravel below. Laravel: The Pros Compared to other frameworks, Laravel is extremely easy to use. It is also suitable for just about anything one might wish to create for the web.That is the main reason why some 20 percent of Laravel users apply it to business and industry websites, according to the statistics by SimilarTech. great deal of uniformity in the entire coding process. This allows web developers to build both small sites and large enterprise apps. Laravel makes code reuse much simpler. This is because of its bundled modularity.It eliminates much of the hassle related to reprogramming. The framework is simpler and more intuitive than any other major PHP framework, be it Nette, Yii1 and Yii2, CakePHP, Codeigniter, or Slim.This doesn’t mean of course that any of these frameworks are somehow inferior. All it means is that Laravel can save some of the time invested in a web app or website development. Another virtue of Laravel is that sites or web apps developed using it do not risk becoming outdated. The reason is not a technical one but lies in the simple fact that it is in high demand. This means the market always offers, and will likely offer, plenty of well-experienced Laravel programmers: something that might not apply to other programming tools or languages. In addition, a popular programming tool is always likely to enjoy longer support and market presence. Another advantage is that Laravel features Object-Relational Mapping (ORM)capabilities. These are quite straightforward and easy to learn. They allow web developers to create database relations much more easily. Moreover, Laravel makes using libraries and models easier since it features object-oriented libraries supported with the autocomplete feature. The framework is also famous for its excellent command-line interface, Artisan CLI.This offers a set of advanced tools to easily seed or migrate databases. It supports Model View Controller (MVC) and provides easy authentication and caching routing and session management, and unit testing. Laravelsupports exceptions and features a very detailed stack trace, which is not available with other frameworks. The framework’s cache cleaning is the best in its class.The framework also handles event queuing very well. In addition, Laravel runs very solid encryption packages that comply with the latest requirements for secure communication. Laravel has a very thorough documentation set.This, as any experienced web developer will readily agree, is of the utmost importance. Last but not least, PHP frameworks are by far the most popular tool to build websites, on the whole, the report by BuiltWith reads. Yet, any tool, platform or framework has its disadvantages. Let’s look at Laravel’s share of them.
How Can Logic Improve Your Programming

How Can Logic Improve Your Programming

As a programmer, you know that program means a set of logic which is implemented to achieve the target product. Even for writing a simple program required a logic. Day by day technologies of the world changing. There are hundred’s of technologies enter the market, however, it is important to know which technology will suitable for you. To implement any programming task logic will be the first priority to complete. For example,
If you want to prove (a>b) or (b
1.Perfect logic It is easy to say complete your work on time, but if you don’t have the right logic you can’t do on time. To complete any task there may be more than one logic, you have to find the quick, perfect and well performance logic.
2. Think in a machine oriented way Forget for a while that you are a human being and think that you are a machine and as a property of a machine that it can’t understand anything because it works on the instruction which we feed inside. So feel that you can’t understand anything. so if a machine can’t understand anything, then we will give some instructions for the machine to follow them in order to solve a problem. These instructions are nothing but a logic. So by thinking in a machine oriented way, you can be capable to write logic for a program which is used by the computer to solve the problem.
3. Implement on paper Recall all Programming concepts you have learned and use that concept to implement the task on paper. To achieve any complex task paper work is very important. Draw all the logical diagram and connect in the best possible way to reach your target. You might be thinking, why should draw on paper, because on paper you can draw all the logic diagram in your understandable format means while drawing a diagram you can write a small note on any side pointing an arrow for which concept will be used here.
4. Focus on target Before writing any program, design your target in mind and accordingly work step by step. If you think that the task is complicated and you are not able to design the logic in a single way than split it into the small task and work one by one in a serial manner. But while splitting keep in mind what is your final target, so don’t distract your target while spitting. Last Conclusion For achieving, any task in programming field logic is the key feature and to create a logic practice in the key feature. So keep practicing your programming will improve.

Tuesday, August 22, 2017

It’s official: Google announces Android 8.0 Oreo, rolling out to devices soon

It’s official: Google announces Android 8.0 Oreo, rolling out to devices soon

Surprising pretty much no one, Google has revealed that the next major version of Android, version 8.0, will be called Android Oreo. The name was revealed earlier today during a live stream following the solar eclipse. More on that name. The name ‘Oreo’ has been licensed from Nabisco, but if you recall, this isn’t the first time Google partnered with a company for an Android name. Android 4.4 was called KitKat, and through that partnership we saw Android-branded KitKat bars in stores all around the world. Who’s looking forward to Oreo boxes with Android branding? I know I am. I’m just glad they didn’t choose something more awkward like Ozark Pudding or Oliebol.
What’s new in Android 8.0 Oreo? For those completely unfamiliar with the changes Google is planning to introduce with Android Oreo, here’s the quick rundown:
First and foremost, Oreo will bring a number of behind-the-scenes changes like background limits for apps to improve battery life, Bluetooth audio improvements, Google Play Protect to help on the security front, and other important changes in vital system behavior for apps built for Oreo. Android Oreo will also bring faster boot speeds (up to twice as fast on the Pixel), a much better Autofill implementation, plus support for Android Instant Apps.
There are also some user-facing additions such as adaptive notification dots, wider support for picture-in-picture mode, over 60 new emoji, a new look for media notifications and the quick settings menu, a redesigned settings menu, adaptive icons, notification channels, and, of course, the Octopus Easter egg.
To learn more about all of these features in greater detail, check out our Android 8.0 features and changes article. This final version of Android 8 won’t introduce many changes that we didn’t already see in the other Android O developer previews. It’s basically a much more stable version of what we’ve seen before, but that’s certainly not a bad thing. When will your phone get the Android 8.0 Oreo update? Good question. Google says Android 8.0 will begin rolling out to all current Pixel and Nexus devices – the Google Pixel, Pixel XL, Pixel C, Nexus 6P, Nexus 5X, and Nexus Player – sometime “soon”. If you happen to be enrolled in the Android Beta Program, your device will automatically be updated to the stable build of Android Oreo. Google also notes that it’s been “working closely” with partners, and by the end of 2017, hardware makers including Huawei, HTC, Essential, General Mobile, HMD Global, Kyocera, LG, Motorola, Samsung, Sharp, and Sony are all scheduled to launch or upgrade devices to Android Oreo. Android 8.0 Oreo will start rolling out to Pixel and Nexus devices soon For those who aren’t keen on waiting for the over-the-air update to hit their devices, factory images will be available sometime, again, “soon” at the Google Developers website. By the way, if you’re a factory image-flashing newbie, we recommend checking out our how-to guide for the full instructions.

Tuesday, July 4, 2017

​ជីវិតពី​ក្មេង​រស់​នៅ​បន្ទប់​​ក្នុង​​សាលា​​ RULE ​បច្ចុប្បន្ន​មាន​ក្រុមហ៊ុន​​តម្លៃ​ ៣​លាន​ដុល្លារ​

​ជីវិតពី​ក្មេង​រស់​នៅ​បន្ទប់​​ក្នុង​​សាលា​​ RULE ​បច្ចុប្បន្ន​មាន​ក្រុមហ៊ុន​​តម្លៃ​ ៣​លាន​ដុល្លារ​

ជីវិត​ជោគជ័យ​​៖​​​​​ ​គ្មាន​ជោគជ័យ​ណា​ដែល​ងាយ​ស្រួល​​ ​​ដាក់​លើ​ជើង​ពាន​ឲ្យ​​យើង​យក​​នោះ​ទេ​ ​ដូច្នេះ​​យើង​ត្រូវ​ចេះ​ចំណុច​ល្អ​ និង​អាក្រក់​មក​ធ្វើ​ជា​មេ​រៀន​ជីវិត​សម្រាប់​​ថ្ងៃ​អនាគត​ ថា​​តើ​យើង​ត្រូវ​គេច​ចេញ​ពី​ឧបសគ្គ​ដោយ​របៀប​ណា​ ដើម្បី​ភាព​ជោគជ័យ​មួយ​ទៅ​​ថ្ងៃ​ណា​ខាង​មុខ​។​ ​ ​នេះ​​​គឺ​​ជា​បទពិសោធន៍​ជីវិត​មិន​អាច​បំភ្លេច​បាន​​​របស់​បុរស​ម្នាក់ ​ដែល​បច្ចុប្បន្ន​មាន ​៣​ក្រុមហ៊ុន​ ​ក្នុង​ដៃ​​ បើ​គិត​​ទំហំ​វិនិយោគ​​តម្លៃ​ប្រមាណ​ ៣​លាន​ដុល្លារ​​​​​​​ ដែល​ការ​ជោគជ័យ​នេះ​ លោក​បាន​ហែល​ឆ្លង​នូវ​ឧបសគ្គ​​​ជា​ច្រើន ពិសេស​​ពី​អតីត​​ក្មេង​ម្នាក់​ដែល​​ធ្លាប់​រស់​នៅ​​ក្នុង​បន្ទប់​តូច​ចង្អៀត​​មួយ​ក្នុង​សាលា​ច្បាប់​​ (សាកលវិទ្យាល័យ​ភូមិន្ទ​នីតិសាស្ត្រ​ និង​វិទ្យាសាស្ត្រ​សេដ្ឋកិច្ច​​-RULE)​ ​ជាមួយ​បង​ប្រុស​​​​​ បាន​ខិត​ខំ​ត​ស៊ូ ​ប្រឹងប្រែង​​​ធ្វើ​ការងារ​​ ​ទាំង​ខ្លួន​រៀន​ ៣​ ​សាកលវិទ្យាល័យ​ ​​បន្ទាប់​ពី​ទទួល​អាហារូបករណ៍​​ នៅ​ភ្នំពេញ​ក្នុង​១​៩​៩​៧​។ តើ​​បុរស​ម្នាក់​ជា​នរណា ហើយ​មាន​​ក្រុមហ៊ុន​អ្វី​ខ្លះ​នៅ​ក្នុង​ដៃ​?​​​​ ​ថៅកែ​​ក្រុមហ៊ុន​ម្នាក់​នេះ​គឺ​ជា​លោក​​ មុំ​ វ៉ារិន ​​ វ័យ​​​៤​១​ឆ្នាំ​ មាន​ស្រុក​កំណើត​​ នៅ​ភូមិ ធ្លក​ ឃុំ​​ក្រោល​គោល​ ស្រុក​ ស្វាយជ្រំ​ ខេត្ត​ស្វាយរៀង​ ហើយ​លោក​ជា - ​​ស្ថាបនិក​គេហទំព័រ​លក់​ទំនិញ​លំដាប់​ពិភព​លោក​ www.angkorstores.com - នាយក​ក្រុមហ៊ុន ​Japan​ Tech - នាយក​ក្រុមហ៊ុន Mom Varin investment - នាយក​សាលា Asia​-Pacific​ Fredfort International Schoo​l
តើ​​មាន​កត្តា​អ្វីខ្លះ​ដែល​ធ្វើ​ឲ្យ​លោក មុំ វ៉ារិន​ ​ជោគជ័យ​​ខ្លាំង​បែប​នេះ​? ហើយ​មាន​គន្លឹះ​ល្អ​ៗ​អ្វី​ខ្លះ សម្រាប់​ជា​ទស្សនាទាន​ដល់​យុវជន​សម័យ​ថ្មី​មាន​គំនិត​សហគ្រិនភាព​តែ​នៅ​ស្ទាក់ស្ទើរ​​ ពិសេស​មាន​បញ្ហា ​ហិរញ្ញវត្ថុ?​​​​​​​​​​ ដើម្បី​​​​ជ្រាប​ច្បាប់​ពី​​កត្តា​ជោគជ័យ​អតីត​ក្មេង​ម្នាក់​ដែល​​ធ្លាប់​រស់​នៅ​​ក្នុង​បន្ទប់​តូច​ចង្អៀត​​មួយ​ក្នុង​សាលា​ច្បាប់​រូប​នេះ​ សូម​មិត្ត​អ្នក​អាន KQUBE ទាំងអស់​ស្ដាប់​និង​ទស្សនា​​វីដេអូ​សំឡេង​​​​​សង្ខេប​នៃ​ខ្លឹមសារ​ៗ​ខាង​ក្រោម​នេះ​ ដែល​ជា​កិច្ច​សម្ភាសន៍​ផ្ទាល់​រវាង​ លោក​ កង ចាន់​បញ្ញា​ និពន្ធ​នាយក​ គេហទំព័រ​ព័ត៌មាន​ KQUBE ​និង​លោក​​ មុំ​ វ៉ារិន

Sunday, May 7, 2017

When we're naked, it's like we're all the same': Yoga studio offers all-nude co-ed classes to overcome body issues and vulnerability

When we're naked, it's like we're all the same': Yoga studio offers all-nude co-ed classes to overcome body issues and vulnerability

One New York City yoga studio has taken yoga’s flexible principles to the next level by offering co-ed, naked vinyasa courses. The class, introduced the Bold & Naked studio in Chelsea, is supposed to provide students with a new way to focus on celebrating their bodies and is not intended to be sexually evocative. There are a lot of things that separate us in a normal yoga class, like what brand of yoga clothing you're wearing or how you look when you're wearing it,' Vanessa Kennedy, a naked yoga class attendee, told Reuters. 'But when we're naked, it's like we're all the same.' As the studio writes on its website: ‘While many equate being naked with sex, this couldn't be further from the truth in a naked yoga class. It's about being comfortable in your own skin and the amazing confidence that comes with it. ‘Practicing yoga naked frees you from negative feelings about your body and allows [you] to be more accepting and deeper connected with yourself and the world around you.’
The studio offers $25 naked yoga classes in a co-ed format, as well as those that are segregated by gender. It also offers fully-clothed classes and teacher training programs in tantric ‘yogassage.’ The naked instruction courses do not allow observers or photography, and students must sign a liability waiver before entering the class. Much like in fully-clothed yoga classes, Bold & Naked, which is the brainchild of co-owner Joschi Schwarz, says that students should expect for teachers to hand-administer postural corrections. Partner work is also sometimes involved in the classes’ vinyasa flow sequences. But according to the studio, none of this body-to-body contact is meant as ‘sexual touching and should any contact of sexual nature occur, it will not be tolerated and will result in the offending member being asked to leave. ‘Anyone who has been asked to leave will not be allowed back to attend classes in the future.