Laravel attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as authentication, routing, sessions, and caching. Laravelaims to make the development process a pleasing one for the developer without sacrificingapplication functionality.
Programming Center
Thursday, May 4, 2017
Wednesday, May 3, 2017
CodeIgniter Remove index.php from URL
change in .htaccess file and try it
RewriteEngine OnRewriteBase /project/RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule ^(.*)$ index.php?/$1 [L]How to get last week' date range in PHP, Codeigniter, CakePHP
$previous_week = strtotime("-1 week +1 day");
$start_week = strtotime("last sunday midnight",$previous_week);
$end_week = strtotime("next saturday",$start_week);
$start_week = date("Y-m-d",$start_week);
$end_week = date("Y-m-d",$end_week);
echo $start_week.' '.$end_week ;
$start_week = strtotime("last sunday midnight",$previous_week);
$end_week = strtotime("next saturday",$start_week);
$start_week = date("Y-m-d",$start_week);
$end_week = date("Y-m-d",$end_week);
echo $start_week.' '.$end_week ;
Friday, May 20, 2016
Google Details Plans to Start Blocking Flash in Chrome This Year
In a bid to get more developers to adopt HTML5, Google has announced plans to slowly phase out support for Adobe Flash Player in Chrome. The company looks to implement this change by the fourth quarter, after which Flash will come bundled with Chrome but its presence will not be advertised by default.
It will instead promote HTML5 which provides faster load times and consumes less power. So if any website offers an HTML5 experience, it will be made as the default experience. As many sites still use Flash, Google is not completely blocking it, but is nonetheless discouraging it. If a site absolutely cannot work without Flash Player, then Google will prompt its users to run the plug-in for that domain only.
Google states that Chrome will also keep a track of the domains that the user manually opted for Flash, and open it automatically in subsequent visits. Furthermore, Google has named the ten most used websites that run Flash, and has white-listed them to avoid over-prompting. The names of some of the white-list websites are YouTube, Facebook, Yahoo, Amazon, Yandex.ru, Live.com, Mail.ru, OK.ru, VK.com and Twitch.tv. These websites will have Flash Player running without any hiccups. However this white-list expires in one year, and by the end of 2017, these websites are expected to make the switch to HTML5.
Google is also discouraging the download of Flash Player, by trapping links that redirect to the download page. Some sites like Pandora ask the user to download Flash Player by redirecting them to Adobe's installation page. Once the user clicks on the download link, Chrome will intercept the request, cancel the navigation, and instead present an 'Allow Flash Player' yellow infobar on top. This is merely done in an attempt to get the user to rethink before using Flash.
For Enterprise users, Chrome will enable a setting that gives the option to "Always run Flash content", for all intranet sites that may use Flash. Even though Google is doing all it takes to get rid of Flash, there are quite a few creative, interactive and gaming sites that use Flash heavily and changing them to HTML 5 now, would be a deep tedious task. Chrome may run Flash on click-to-play basis to discourage its use, but the Web isn't getting rid of Flash just yet.
Download the Gadgets 360 app for Android and iOS to stay up to date with the latest tech news, product reviews, and exclusive deals on the popular mobiles.
Download the Gadgets 360 app for Android and iOS to stay up to date with the latest tech news, product reviews, and exclusive deals on the popular mobiles.
Facebook says it will help marketers sell and place in-stream and in-article video ads across 3rd-party websites and applications - Wall Street Journal
Tuesday, May 10, 2016
India's e-commerce sector to see $120 billion revenue by 2020: Assocham-Forrester report
NEW DELHI: The country's e-commerce sector is expected to see revenues of USD 120 billion by 2020 from USD 30 billion at the end of last fiscal, a report said.
The increase would be mainly on the back of young demographic profile, rising Internet penetration and relatively better economic performance, the Assocham-Forrester study said.
India's e-commerce sector saw revenues of USD 30 billion at the end of the financial year 2015-16. It is expected to reach USD 120 billion by 2 ..
Use of E-commerce-
E-commerce businesses may employ some or all of the following:
Online shopping web sites for retail sales direct to consumers.
Providing or participating in online marketplaces, which process third-party business-to-consumer or consumer-to-consumer sales.
Business-to-business buying and selling.
Online shopping web sites for retail sales direct to consumers.
Providing or participating in online marketplaces, which process third-party business-to-consumer or consumer-to-consumer sales.
Business-to-business buying and selling.
Subscribe to:
Posts (Atom)