Lakshmi Srinivas

Lakshmi Srinivas

233 Articles Published

Articles by Lakshmi Srinivas

Page 23 of 24

How to configure nginx with gzip module for compression on centos 7

Lakshmi Srinivas
Lakshmi Srinivas
Updated on 18-Oct-2019 568 Views

In this article, we have configured Nginx which is already installed on CentOS 7 to serve the clients with gzip compression to reduce the size of the contents sent to the web site visitors. We can configure the websites to load faster which depends on the size of all the files that are downloaded by the web browser, we can do this by reducing the size of the files transmitted from the website and load faster, which also reduces the cost which we pay for the bandwidth usage. gzipis a popular data compression package, which we will configure Nginx with ...

Read More

Top frameworks for HTML5 based mobile development

Lakshmi Srinivas
Lakshmi Srinivas
Updated on 30-Jul-2019 274 Views

The following are some of the top frameworks for HTML5 based mobile development:1. Kendo UIUse Kendo UI to develop an invaluable cross-platform mobile application.2. BootstrapBootstrap supports HTML, CSS, and JS that allows developing mobile apps with responsive layouts.3. Ionic Ionic is open source framework used for developing mobile applications. It provides tools and services for building Mobile UI with native look and feel. The ionic framework needs a native wrapper to be able to run on mobile devices.4. Sencha TouchSencha Touch is a mobile application framework to develop user interface for mobile apps using HTML5, CSS3, and JavaScript. It assists the ...

Read More

Upload directly to Amazon S3 using Plupload HTML5 runtime

Lakshmi Srinivas
Lakshmi Srinivas
Updated on 30-Jul-2019 186 Views

Amazon S3 now supports cross-origin resource sharing so HTML5 uploads are now possible.Before it was not possible. Plupload can be directly uploaded to HTML5 by cross-origin resource sharing (CORS).With the help of CORS (Cross-origin resource sharing), rich client-side web applications can be created.It selectively allows cross-origin access to S3 resources with the help of which we can access Amazon.

Read More

HTML5 getCurrentPosition almost always failing in PhoneGap on iOS

Lakshmi Srinivas
Lakshmi Srinivas
Updated on 30-Jul-2019 116 Views

PhoneGap has geolocation which works well for iOS, however, in IOS6, getCurrentPosition fires a failure callback. After failure, the getcurrentPosition calls success or failure callbacks. To let PhoneGap works on IOS6, we need to set PhoneGap.plist to No.If it is set to yes then ios6 have memory problems. However, Apache Cardova can be used for this purpose for iOS. There are many bugs in an older version of Cardova, so it should be updated to Cardovanew version.

Read More

What does the bitwise right shift operator do in Java?

Lakshmi Srinivas
Lakshmi Srinivas
Updated on 30-Jul-2019 419 Views

The left operand value is moved right by the number of bits specified by the right operand.Example: A >> 2 = 15 means 1111.

Read More

What is the type of string literals in C and C++?

Lakshmi Srinivas
Lakshmi Srinivas
Updated on 30-Jul-2019 874 Views

In C the type of a string literal is a char[]. In C++, an ordinary string literal has type 'array of n const char'. For example, The type of the string literal "Hello" is "array of 6 const char". It can, however, be converted to a const char* by array-to-pointer conversion.Note that Array-to-pointer conversion results in a pointer to the first element of the array.

Read More

Can constructors be marked final, abstract or static in Java?

Lakshmi Srinivas
Lakshmi Srinivas
Updated on 30-Jul-2019 2K+ Views

Except public, protected and, private constructor does not allow any other modifier. When you use a final keyword with a method or constructor it cannot be overridden. But, a constructor in Java cannot be overridden therefore, there is no need of using the final keyword with the constructor. Since you cannot override a constructor you cannot provide body to it if it is made abstract. Therefore, you cannot use abstract keyword with the constructor. If you want to invoke a member of a class before instantiating the class you need to use static before it. But, contractors are called ...

Read More

What is a composition in Java?

Lakshmi Srinivas
Lakshmi Srinivas
Updated on 30-Jul-2019 436 Views

The composition is also a type of aggregation where the relationship is restrictive i.e. If two objects are in composition, the composed object will not exist without the other.

Read More

What is the purpose of System class in Java?

Lakshmi Srinivas
Lakshmi Srinivas
Updated on 30-Jul-2019 2K+ Views

System class belongs to the package java.lang. It cannot be instantiated. A System class provides − standard output. error output streams. standard input and access to externally defined properties and environment variables. A utility method for quickly copying a portion of an array. a means of loading files and libraries. Following are the fields for java.lang.System class − static PrintStream err − This is the "standard" error output stream. static InputStream in − This is the "standard" input stream. static PrintStream out − This is the "standard" output stream.

Read More

Double click on ALV Grid to call Transaction and pass information in SAP

SAP
Lakshmi Srinivas
Lakshmi Srinivas
Updated on 30-Jul-2019 1K+ Views

You can make use of field - “wa_selrow” to define which column was clicked. Also, change the grid from row selection mode to cell selection mode.wa_selrow contains which field it is calling the transaction regardless or the field you clicked on so based on the content of wa_selrow, you can control the call to the transaction.You can also turn on the debugger and double click on the field to check what value is getting passed into wa_selfield.

Read More
Showing 221–230 of 233 articles
Advertisements